3b595d512f
elfutils contains a call to wmempcpy, which is only available when the toolchain has wchar support, so add the dependency. Also display a comment if the toolchain dependencies are not met. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
34 lines
949 B
Plaintext
34 lines
949 B
Plaintext
comment "elfutils requires a toolchain with LARGEFILE and WCHAR support"
|
|
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
|
|
|
|
config BR2_PACKAGE_ELFUTILS
|
|
bool "elfutils"
|
|
select BR2_PACKAGE_ARGP_STANDALONE if \
|
|
BR2_TOOLCHAIN_BUILDROOT || \
|
|
BR2_TOOLCHAIN_CTNG_uClibc || \
|
|
BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
|
|
depends on BR2_LARGEFILE
|
|
depends on BR2_USE_WCHAR
|
|
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://fedorahosted.org/elfutils
|
|
|
|
if BR2_PACKAGE_ELFUTILS
|
|
|
|
config BR2_PACKAGE_ELFUTILS_PROGS
|
|
bool "Install programs"
|
|
depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC || \
|
|
BR2_TOOLCHAIN_CTNG_glibc || \
|
|
BR2_TOOLCHAIN_CTNG_eglibc
|
|
help
|
|
This option tells elfutils to not only install the libelf
|
|
libraries, but also the elfutils programs.
|
|
|
|
endif
|