[Buildroot] [git commit branch/2022.02.x] package/zlib: add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB
Peter Korsgaard
peter at korsgaard.com
Thu May 26 21:21:48 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=02d193545d9b70330ef8bbdcb13bdb9af34cbea6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x
Add BR2_PACKAGE_ZLIB_FORCE_LIBZLIB
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit cdfe7d17b395813f66e231ed183a7b75afb14b8f)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/zlib/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/zlib/Config.in b/package/zlib/Config.in
index d6d94889a7..3a486376ac 100644
--- a/package/zlib/Config.in
+++ b/package/zlib/Config.in
@@ -1,3 +1,6 @@
+config BR2_PACKAGE_ZLIB_FORCE_LIBZLIB
+ bool
+
config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
bool
default y if BR2_arm
@@ -33,6 +36,7 @@ config BR2_PACKAGE_LIBZLIB
config BR2_PACKAGE_ZLIB_NG
bool "zlib-ng"
depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
+ depends on !BR2_PACKAGE_ZLIB_FORCE_LIBZLIB
select BR2_PACKAGE_HAS_ZLIB
help
Zlib replacement with optimizations for
More information about the buildroot
mailing list