summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/iproute2
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-02-06 13:42:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-06 15:23:40 +0000
commit1d353cb30b93cd08d7a0f743534c1cd712bbe018 (patch)
treeaee57b20df6a792c794c7c97316e972be520fae4 /meta/recipes-connectivity/iproute2
parenta5436fa039d1e3153fb724a3fa59c5955995aa2d (diff)
downloadopenembedded-core-1d353cb30b93cd08d7a0f743534c1cd712bbe018.tar.gz
openembedded-core-1d353cb30b93cd08d7a0f743534c1cd712bbe018.tar.bz2
openembedded-core-1d353cb30b93cd08d7a0f743534c1cd712bbe018.zip
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.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.inc9
1 files changed, 6 insertions, 3 deletions
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"