Config.in 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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_x86_64
  7. config BR2_PACKAGE_ZLIB
  8. bool "zlib support"
  9. help
  10. Select the desired Zlib library provider.
  11. if BR2_PACKAGE_ZLIB
  12. choice
  13. prompt "zlib variant"
  14. default BR2_PACKAGE_LIBZLIB
  15. help
  16. Select the desired Zlib library provider.
  17. config BR2_PACKAGE_LIBZLIB
  18. bool "zlib"
  19. select BR2_PACKAGE_HAS_ZLIB
  20. help
  21. Standard (de)compression library. Used by things like
  22. gzip and libpng.
  23. http://www.zlib.net
  24. config BR2_PACKAGE_ZLIB_NG
  25. bool "zlib-ng"
  26. depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
  27. select BR2_PACKAGE_HAS_ZLIB
  28. help
  29. Zlib replacement with optimizations for
  30. "next generation" systems.
  31. https://github.com/mtl1979/zlib-ng/tree/renamelib
  32. endchoice
  33. config BR2_PACKAGE_HAS_ZLIB
  34. bool
  35. config BR2_PACKAGE_PROVIDES_ZLIB
  36. string
  37. default "libzlib" if BR2_PACKAGE_LIBZLIB
  38. default "zlib-ng" if BR2_PACKAGE_ZLIB_NG
  39. endif
  40. # ensure libzlib is used for the host variant
  41. config BR2_PACKAGE_PROVIDES_HOST_ZLIB
  42. string
  43. default "host-libzlib"