99ce85cdb8
Drop second patch and renumber the rest. Add explicit dependency on musl-fts and link with it. Fixes: - http://autobuild.buildroot.org/results/3f20ae917fde9d95eb061b779a5992db91355a57 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
33 lines
1017 B
Plaintext
33 lines
1017 B
Plaintext
comment "elfutils needs a uClibc or glibc toolchain w/ wchar, dynamic library"
|
|
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|
|
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|
|
|
|
config BR2_PACKAGE_ELFUTILS
|
|
bool "elfutils"
|
|
depends on BR2_USE_WCHAR
|
|
depends on !BR2_STATIC_LIBS
|
|
# Only glibc and uClibc implement the myriad of required GNUisms
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_ZLIB
|
|
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
|
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
|
help
|
|
Libraries/utilities to handle ELF objects (drop in
|
|
replacement for libelf).
|
|
|
|
Note that this option only installs the libraries, and not
|
|
the programs.
|
|
|
|
https://sourceware.org/elfutils/
|
|
|
|
if BR2_PACKAGE_ELFUTILS
|
|
|
|
config BR2_PACKAGE_ELFUTILS_PROGS
|
|
bool "Install programs"
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
help
|
|
This option tells elfutils to not only install the libelf
|
|
libraries, but also the elfutils programs.
|
|
|
|
endif
|