summaryrefslogtreecommitdiffstats
path: root/package/elfutils/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-01-06 05:22:49 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-07 21:43:01 +0100
commit8e6c06fb11684ab8aa5454338024040dae95e57e (patch)
treed2e7f9fd161131f6878c335693e642eb6b487ef8 /package/elfutils/Config.in
parenteb6cf3003366864aa29cc56eab88c26c3d8baedf (diff)
downloadbuildroot-novena-8e6c06fb11684ab8aa5454338024040dae95e57e.tar.gz
buildroot-novena-8e6c06fb11684ab8aa5454338024040dae95e57e.zip
elfutils: towards uClibc support: argp-standalone usage
elfutils uses the argp family of functions, that isn't available in uClibc. So, we add a dependency on argp-standalone if building with uClibc, and modify elfutils source code to link against argp if needed. Heavily based from work done by Stefan Fröberg, but with many further modifications by Thomas Petazzoni. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/elfutils/Config.in')
-rw-r--r--package/elfutils/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/elfutils/Config.in b/package/elfutils/Config.in
index 87744b59d..ee1e4abe9 100644
--- a/package/elfutils/Config.in
+++ b/package/elfutils/Config.in
@@ -8,6 +8,10 @@ config BR2_PACKAGE_ELFUTILS
depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC || \
BR2_TOOLCHAIN_CTNG_glibc || \
BR2_TOOLCHAIN_CTNG_eglibc
+ select BR2_PACKAGE_ARGP_STANDALONE if \
+ BR2_TOOLCHAIN_BUILDROOT || \
+ BR2_TOOLCHAIN_CTNG_uClibc || \
+ BR2_TOOLCHAIN_EXTERNAL_UCLIBC
help
Libraries/utilities to handle ELF objects (drop in
replacement for libelf).