diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-02-21 10:50:08 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-21 12:41:23 +0100 |
commit | 5da3186efbeeff49ea4dc1774280d7cc2899c27f (patch) | |
tree | 901c859d327d51fdb37b67f6326bdae2f441cccb | |
parent | 34c58907f69e425cd9d391bb28b83165a80b7d39 (diff) | |
download | buildroot-5da3186efbeeff49ea4dc1774280d7cc2899c27f.tar.gz buildroot-5da3186efbeeff49ea4dc1774280d7cc2899c27f.zip |
package/iproute2: add optional support for elfutils
When elfutils was compiled before, iproute2 will use it as optional
dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/sbin/tc | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libelf.so.1]
[...]
The build system offers no option to en-/disable elfutils support:
http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/tree/configure#n252
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/iproute2/iproute2.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 6789c52834..6fa68c2c29 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -18,6 +18,10 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y) IPROUTE2_DEPENDENCIES += busybox endif +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +IPROUTE2_DEPENDENCIES += elfutils +endif + # If we've got iptables enable xtables support for tc ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx) IPROUTE2_DEPENDENCIES += iptables |