summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iproute2/iproute2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2.inc')
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2.inc16
1 files changed, 13 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index 1aa1eec0de..d72871767f 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -18,7 +18,8 @@ CLEANBROKEN = "1"
18PACKAGECONFIG ??= "tipc" 18PACKAGECONFIG ??= "tipc"
19PACKAGECONFIG[tipc] = ",,libmnl," 19PACKAGECONFIG[tipc] = ",,libmnl,"
20 20
21EXTRA_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}'" 21EXTRA_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}'"
22 23
23do_configure_append () { 24do_configure_append () {
24 sh configure ${STAGING_INCDIR} 25 sh configure ${STAGING_INCDIR}
@@ -37,10 +38,19 @@ do_install () {
37# The .so files in iproute2-tc are modules, not traditional libraries 38# The .so files in iproute2-tc are modules, not traditional libraries
38INSANE_SKIP_${PN}-tc = "dev-so" 39INSANE_SKIP_${PN}-tc = "dev-so"
39 40
40PACKAGES =+ "${PN}-tc ${PN}-lnstat ${PN}-ifstat ${PN}-genl ${PN}-rtacct ${PN}-nstat ${PN}-ss ${@bb.utils.contains('PACKAGECONFIG', 'tipc', '${PN}-tipc', '', d)}" 41PACKAGES =+ "${PN}-tc \
42 ${PN}-lnstat \
43 ${PN}-ifstat \
44 ${PN}-genl \
45 ${PN}-rtacct \
46 ${PN}-nstat \
47 ${PN}-ss \
48 ${@bb.utils.contains('PACKAGECONFIG', 'tipc', '${PN}-tipc', '', d)}"
41FILES_${PN}-tc = "${base_sbindir}/tc* \ 49FILES_${PN}-tc = "${base_sbindir}/tc* \
42 ${libdir}/tc/*.so" 50 ${libdir}/tc/*.so"
43FILES_${PN}-lnstat = "${base_sbindir}/lnstat ${base_sbindir}/ctstat ${base_sbindir}/rtstat" 51FILES_${PN}-lnstat = "${base_sbindir}/lnstat \
52 ${base_sbindir}/ctstat \
53 ${base_sbindir}/rtstat"
44FILES_${PN}-ifstat = "${base_sbindir}/ifstat" 54FILES_${PN}-ifstat = "${base_sbindir}/ifstat"
45FILES_${PN}-genl = "${base_sbindir}/genl" 55FILES_${PN}-genl = "${base_sbindir}/genl"
46FILES_${PN}-rtacct = "${base_sbindir}/rtacct" 56FILES_${PN}-rtacct = "${base_sbindir}/rtacct"