Config.in 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_arm
  4. default y if BR2_aarch64
  5. default y if BR2_i386
  6. default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
  7. default y if BR2_s390x
  8. default y if BR2_x86_64
  9. config BR2_PACKAGE_ZLIB
  10. bool "zlib support"
  11. help
  12. Select the desired Zlib library provider.
  13. if BR2_PACKAGE_ZLIB
  14. choice
  15. prompt "zlib variant"
  16. default BR2_PACKAGE_LIBZLIB
  17. help
  18. Select the desired Zlib library provider.
  19. config BR2_PACKAGE_LIBZLIB
  20. bool "zlib"
  21. select BR2_PACKAGE_HAS_ZLIB
  22. help
  23. Standard (de)compression library. Used by things like
  24. gzip and libpng.
  25. http://www.zlib.net
  26. config BR2_PACKAGE_ZLIB_NG
  27. bool "zlib-ng"
  28. depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
  29. select BR2_PACKAGE_HAS_ZLIB
  30. help
  31. Zlib replacement with optimizations for
  32. "next generation" systems.
  33. https://github.com/zlib-ng/zlib-ng
  34. endchoice
  35. config BR2_PACKAGE_HAS_ZLIB
  36. bool
  37. config BR2_PACKAGE_PROVIDES_ZLIB
  38. string
  39. default "libzlib" if BR2_PACKAGE_LIBZLIB
  40. default "zlib-ng" if BR2_PACKAGE_ZLIB_NG
  41. endif
  42. # ensure libzlib is used for the host variant
  43. config BR2_PACKAGE_PROVIDES_HOST_ZLIB
  44. string
  45. default "host-libzlib"