Config.in 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. comment "elfutils needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
  2. depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
  3. || !BR2_TOOLCHAIN_HAS_THREADS \
  4. || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
  5. config BR2_PACKAGE_ELFUTILS
  6. bool "elfutils"
  7. depends on BR2_USE_WCHAR
  8. depends on !BR2_STATIC_LIBS
  9. depends on BR2_TOOLCHAIN_HAS_THREADS
  10. # Only glibc and uClibc implement the myriad of required GNUisms
  11. depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
  12. select BR2_PACKAGE_ZLIB
  13. select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
  14. select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
  15. help
  16. Libraries/utilities to handle ELF objects (drop in
  17. replacement for libelf).
  18. Note that this option only installs the libraries, and not
  19. the programs.
  20. https://sourceware.org/elfutils/
  21. if BR2_PACKAGE_ELFUTILS
  22. config BR2_PACKAGE_ELFUTILS_PROGS
  23. bool "Install programs"
  24. depends on BR2_TOOLCHAIN_USES_GLIBC
  25. help
  26. This option tells elfutils to not only install the libelf
  27. libraries, but also the elfutils programs.
  28. endif