diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-10-10 13:18:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-15 14:16:10 +0100 |
commit | 591d877d5cc72470fb31d1b9e9d39618668a803f (patch) | |
tree | 6b6902ad5379ce8ff44251539373e254743ea5d7 | |
parent | a3df097fa48fff07d31e083d748a391324a8fdff (diff) | |
download | poky-591d877d5cc72470fb31d1b9e9d39618668a803f.tar.gz |
iproute2: make elfutils support optional
The use case is as well allowing gpl3-free builds without
pulling in outdated meta-gpl2 recipes.
(From OE-Core rev: 1f9610b33b18e0aa160da41e4cecf57c177fbc1e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc index d72871767f..fc31b8444e 100644 --- a/meta/recipes-connectivity/iproute2/iproute2.inc +++ b/meta/recipes-connectivity/iproute2/iproute2.inc | |||
@@ -9,14 +9,15 @@ LICENSE = "GPLv2+" | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ |
10 | file://ip/ip.c;beginline=3;endline=8;md5=689d691d0410a4b64d3899f8d6e31817" | 10 | file://ip/ip.c;beginline=3;endline=8;md5=689d691d0410a4b64d3899f8d6e31817" |
11 | 11 | ||
12 | DEPENDS = "flex-native bison-native iptables elfutils libcap" | 12 | DEPENDS = "flex-native bison-native iptables libcap" |
13 | 13 | ||
14 | inherit update-alternatives bash-completion pkgconfig | 14 | inherit update-alternatives bash-completion pkgconfig |
15 | 15 | ||
16 | CLEANBROKEN = "1" | 16 | CLEANBROKEN = "1" |
17 | 17 | ||
18 | PACKAGECONFIG ??= "tipc" | 18 | PACKAGECONFIG ??= "tipc elf" |
19 | PACKAGECONFIG[tipc] = ",,libmnl," | 19 | PACKAGECONFIG[tipc] = ",,libmnl," |
20 | PACKAGECONFIG[elf] = ",,elfutils," | ||
20 | 21 | ||
21 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl \ | 22 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl \ |
22 | ${@bb.utils.contains('PACKAGECONFIG', 'tipc', 'tipc', '', d)}' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" | 23 | ${@bb.utils.contains('PACKAGECONFIG', 'tipc', 'tipc', '', d)}' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" |