kumquat-buildroot/package/zlib/Config.in
Yann E. MORIN 2b170210c9 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>
2018-02-25 23:22:14 +01:00

56 lines
1.1 KiB
Plaintext

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
Select the desired Zlib library provider.
if BR2_PACKAGE_ZLIB
choice
prompt "zlib variant"
default BR2_PACKAGE_LIBZLIB
help
Select the desired Zlib library provider.
config BR2_PACKAGE_LIBZLIB
bool "zlib"
select BR2_PACKAGE_HAS_ZLIB
help
Standard (de)compression library. Used by things like
gzip and libpng.
http://www.zlib.net
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
"next generation" systems.
https://github.com/mtl1979/zlib-ng/tree/renamelib
endchoice
config BR2_PACKAGE_HAS_ZLIB
bool
config BR2_PACKAGE_PROVIDES_ZLIB
string
default "libzlib" if BR2_PACKAGE_LIBZLIB
default "zlib-ng" if BR2_PACKAGE_ZLIB_NG
endif
# ensure libzlib is used for the host variant
config BR2_PACKAGE_PROVIDES_HOST_ZLIB
string
default "host-libzlib"