1comment "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 6config BR2_PACKAGE_ELFUTILS 7 bool "elfutils" 8 depends on BR2_USE_WCHAR 9 depends on !BR2_STATIC_LIBS 10 depends on BR2_TOOLCHAIN_HAS_THREADS 11 # Only glibc and uClibc implement the myriad of required GNUisms 12 depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC 13 select BR2_PACKAGE_ZLIB 14 select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC 15 select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC 16 help 17 Libraries/utilities to handle ELF objects (drop in 18 replacement for libelf). 19 20 Note that this option only installs the libraries, and not 21 the programs. 22 23 https://sourceware.org/elfutils/ 24 25if BR2_PACKAGE_ELFUTILS 26 27config BR2_PACKAGE_ELFUTILS_PROGS 28 bool "Install programs" 29 depends on BR2_TOOLCHAIN_USES_GLIBC 30 help 31 This option tells elfutils to not only install the libelf 32 libraries, but also the elfutils programs. 33 34endif 35