From 8e6c06fb11684ab8aa5454338024040dae95e57e Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 6 Jan 2013 05:22:49 +0000 Subject: elfutils: towards uClibc support: argp-standalone usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Peter Korsgaard --- package/elfutils/Config.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/elfutils/Config.in') 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). -- cgit v1.2.3