e6e40c4592
zlib-ng, a fast Zlib replacement Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> [Thomas: drop host variant.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
48 lines
907 B
Plaintext
48 lines
907 B
Plaintext
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"
|
|
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"
|