From fa1b8ae52345e172552880df5536a0495a610616 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 6 Feb 2014 13:42:53 +0000 Subject: iproute2: split out package for tc tc (the IP traffic control utility) isn't often used and makes up a reasonably large part of the iproute2 package as well as having a runtime dependency on iptables, so split it out into its own package. (From OE-Core rev: 1d353cb30b93cd08d7a0f743534c1cd712bbe018) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- meta/recipes-connectivity/iproute2/iproute2.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'meta/recipes-connectivity/iproute2') diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc index 3db21db8d9..568aa5f5dd 100644 --- a/meta/recipes-connectivity/iproute2/iproute2.inc +++ b/meta/recipes-connectivity/iproute2/iproute2.inc @@ -23,10 +23,13 @@ do_install () { rm ${D}/share -rf || true } -# There are only .so files in iproute2 -INSANE_SKIP_${PN} = "dev-so" +# The .so files in iproute2-tc are modules, not traditional libraries +INSANE_SKIP_${PN}-tc = "dev-so" + +PACKAGES =+ "${PN}-tc" +FILES_${PN}-tc = "${base_sbindir}/tc* \ + ${libdir}/tc/*.so" -FILES_${PN} += "${libdir}/tc" FILES_${PN}-dbg += "${libdir}/tc/.debug" ALTERNATIVE_${PN} = "ip" -- cgit v1.2.3-54-g00ecf