From 2b170210c9bfa70c6c1eae9cc2bc65b03ec9dd6d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 25 Feb 2018 23:10:43 +0100 Subject: [PATCH] package/zlib: zlib-ng only available on some archs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" Cc: Nicolas Cavallari Cc: Adam Duskett Cc: Stefan Fröberg Cc: Thomas Petazzoni [Thomas: fix typoes in the Config.in option name.] Signed-off-by: Thomas Petazzoni --- package/zlib/Config.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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