Config.in 1.3 KB

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