aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2018-02-25 23:10:43 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-25 23:22:14 +0100
commit2b170210c9bfa70c6c1eae9cc2bc65b03ec9dd6d (patch)
tree937114fe9ccb7ba2a04eff5b383db31edccccbd3
parent23524c8e12541fe01548ea6e07fe9062f86fda26 (diff)
downloadbuildroot-2b170210c9bfa70c6c1eae9cc2bc65b03ec9dd6d.tar.gz
buildroot-2b170210c9bfa70c6c1eae9cc2bc65b03ec9dd6d.tar.bz2
package/zlib: zlib-ng only available on some archs
Upstream has code only for those architectures, with no fallback generic code, so we must restrict zlib-ng to only those four archs... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Nicolas Cavallari <Nicolas.Cavallari@green-communications.fr> Cc: Adam Duskett <aduskett@gmail.com> Cc: Stefan Fröberg <stefan.froberg@petroprogram.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [Thomas: fix typoes in the Config.in option name.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/zlib/Config.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/zlib/Config.in b/package/zlib/Config.in
index 87abc2bdd5..0f6179f537 100644
--- a/package/zlib/Config.in
+++ b/package/zlib/Config.in
@@ -1,3 +1,10 @@
+config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
+ bool
+ default y if BR2_arm
+ default y if BR2_aarch64
+ default y if BR2_i386
+ default y if BR2_x86_64
+
config BR2_PACKAGE_ZLIB
bool "zlib support"
help
@@ -22,6 +29,7 @@ config BR2_PACKAGE_LIBZLIB
config BR2_PACKAGE_ZLIB_NG
bool "zlib-ng"
+ depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
select BR2_PACKAGE_HAS_ZLIB
help
Zlib replacement with optimizations for