diff options
author | Anatol Belski <anbelski@linux.microsoft.com> | 2020-12-14 12:51:15 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-18 22:52:24 +0000 |
commit | 703c7754c1e582b398d812f5ca96305ebbda26cd (patch) | |
tree | 8d69d9c68f197feae72b32c59ae4955d23827425 /meta/recipes-connectivity/iproute2 | |
parent | 3eeed13c197a675caa39acc22829c2b9f6965934 (diff) | |
download | poky-703c7754c1e582b398d812f5ca96305ebbda26cd.tar.gz |
iproute2: Make it easier to manipulate SUBDIRS list from bbappend
Currently there's no easy way to override this part as it's hardcoded
into the EXTRA_OEMAKE var. This change makes it possible to manipulate
the list of subdirs in a more fine graned and future oriented manner.
(From OE-Core rev: 1ca2b21cb7d638f36860bd16a90c1fb8238d4552)
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/iproute2')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc index 403d264308..7a22fe9252 100644 --- a/meta/recipes-connectivity/iproute2/iproute2.inc +++ b/meta/recipes-connectivity/iproute2/iproute2.inc | |||
@@ -20,11 +20,13 @@ PACKAGECONFIG[tipc] = ",,libmnl," | |||
20 | PACKAGECONFIG[elf] = ",,elfutils," | 20 | PACKAGECONFIG[elf] = ",,elfutils," |
21 | PACKAGECONFIG[devlink] = ",,libmnl," | 21 | PACKAGECONFIG[devlink] = ",,libmnl," |
22 | 22 | ||
23 | IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc', d)}" | ||
24 | |||
23 | EXTRA_OEMAKE = "\ | 25 | EXTRA_OEMAKE = "\ |
24 | CC='${CC}' \ | 26 | CC='${CC}' \ |
25 | KERNEL_INCLUDE=${STAGING_INCDIR} \ | 27 | KERNEL_INCLUDE=${STAGING_INCDIR} \ |
26 | DOCDIR=${docdir}/iproute2 \ | 28 | DOCDIR=${docdir}/iproute2 \ |
27 | SUBDIRS='lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc', d)}' \ | 29 | SUBDIRS='${IPROUTE2_MAKE_SUBDIRS}' \ |
28 | SBINDIR='${base_sbindir}' \ | 30 | SBINDIR='${base_sbindir}' \ |
29 | LIBDIR='${libdir}' \ | 31 | LIBDIR='${libdir}' \ |
30 | " | 32 | " |