summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iproute2
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/iproute2')
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index 9ce157b2ca..86e9310631 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
13 13
14inherit update-alternatives 14inherit update-alternatives
15 15
16EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" 16EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
17 17
18do_configure_append () { 18do_configure_append () {
19 sh configure ${STAGING_INCDIR} 19 sh configure ${STAGING_INCDIR}
@@ -32,9 +32,15 @@ do_install () {
32# The .so files in iproute2-tc are modules, not traditional libraries 32# The .so files in iproute2-tc are modules, not traditional libraries
33INSANE_SKIP_${PN}-tc = "dev-so" 33INSANE_SKIP_${PN}-tc = "dev-so"
34 34
35PACKAGES =+ "${PN}-tc" 35PACKAGES =+ "${PN}-tc ${PN}-lnstat ${PN}-ifstat ${PN}-genl ${PN}-rtacct ${PN}-nstat ${PN}-ss"
36FILES_${PN}-tc = "${base_sbindir}/tc* \ 36FILES_${PN}-tc = "${base_sbindir}/tc* \
37 ${libdir}/tc/*.so" 37 ${libdir}/tc/*.so"
38FILES_${PN}-lnstat = "${base_sbindir}/lnstat ${base_sbindir}/ctstat ${base_sbindir}/rtstat"
39FILES_${PN}-ifstat = "${base_sbindir}/ifstat"
40FILES_${PN}-genl = "${base_sbindir}/genl"
41FILES_${PN}-rtacct = "${base_sbindir}/rtacct"
42FILES_${PN}-nstat = "${base_sbindir}/nstat"
43FILES_${PN}-ss = "${base_sbindir}/ss"
38 44
39ALTERNATIVE_${PN} = "ip" 45ALTERNATIVE_${PN} = "ip"
40ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" 46ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}"