diff options
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc index ce64888a05..57309b7aac 100644 --- a/meta/recipes-connectivity/iproute2/iproute2.inc +++ b/meta/recipes-connectivity/iproute2/iproute2.inc | |||
@@ -13,7 +13,10 @@ DEPENDS = "flex-native bison-native iptables elfutils" | |||
13 | 13 | ||
14 | inherit update-alternatives bash-completion pkgconfig | 14 | inherit update-alternatives bash-completion pkgconfig |
15 | 15 | ||
16 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" | 16 | PACKAGECONFIG ??= "" |
17 | PACKAGECONFIG[tipc] = ",,libmnl," | ||
18 | |||
19 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl ${@bb.utils.contains('PACKAGECONFIG', 'tipc', 'tipc', '', d)}' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" | ||
17 | 20 | ||
18 | do_configure_append () { | 21 | do_configure_append () { |
19 | sh configure ${STAGING_INCDIR} | 22 | sh configure ${STAGING_INCDIR} |
@@ -32,7 +35,7 @@ do_install () { | |||
32 | # The .so files in iproute2-tc are modules, not traditional libraries | 35 | # The .so files in iproute2-tc are modules, not traditional libraries |
33 | INSANE_SKIP_${PN}-tc = "dev-so" | 36 | INSANE_SKIP_${PN}-tc = "dev-so" |
34 | 37 | ||
35 | PACKAGES =+ "${PN}-tc ${PN}-lnstat ${PN}-ifstat ${PN}-genl ${PN}-rtacct ${PN}-nstat ${PN}-ss" | 38 | PACKAGES =+ "${PN}-tc ${PN}-lnstat ${PN}-ifstat ${PN}-genl ${PN}-rtacct ${PN}-nstat ${PN}-ss ${@bb.utils.contains('PACKAGECONFIG', 'tipc', '${PN}-tipc', '', d)}" |
36 | FILES_${PN}-tc = "${base_sbindir}/tc* \ | 39 | FILES_${PN}-tc = "${base_sbindir}/tc* \ |
37 | ${libdir}/tc/*.so" | 40 | ${libdir}/tc/*.so" |
38 | FILES_${PN}-lnstat = "${base_sbindir}/lnstat ${base_sbindir}/ctstat ${base_sbindir}/rtstat" | 41 | FILES_${PN}-lnstat = "${base_sbindir}/lnstat ${base_sbindir}/ctstat ${base_sbindir}/rtstat" |
@@ -41,6 +44,7 @@ FILES_${PN}-genl = "${base_sbindir}/genl" | |||
41 | FILES_${PN}-rtacct = "${base_sbindir}/rtacct" | 44 | FILES_${PN}-rtacct = "${base_sbindir}/rtacct" |
42 | FILES_${PN}-nstat = "${base_sbindir}/nstat" | 45 | FILES_${PN}-nstat = "${base_sbindir}/nstat" |
43 | FILES_${PN}-ss = "${base_sbindir}/ss" | 46 | FILES_${PN}-ss = "${base_sbindir}/ss" |
47 | FILES_${PN}-tipc = "${base_sbindir}/tipc" | ||
44 | 48 | ||
45 | ALTERNATIVE_${PN} = "ip" | 49 | ALTERNATIVE_${PN} = "ip" |
46 | ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" | 50 | ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" |