kumquat-buildroot/package/zlib/Config.in
Fabrice Fontaine 2007b79280 package/zlib: update architectures for zlib-ng
- powerpc is supported since
  b81f4ee96d
- s390x is supported since
  8e30d11736

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-12 22:23:06 +02:00

58 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_powerpc || BR2_powerpc64 || BR2_powerpc64le
default y if BR2_s390x
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/zlib-ng/zlib-ng
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"