All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iproute2: split out package for tc
@ 2014-02-06 13:42 Paul Eggleton
  0 siblings, 0 replies; only message in thread
From: Paul Eggleton @ 2014-02-06 13:42 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/recipes-connectivity/iproute2/iproute2.inc | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index 3db21db..568aa5f 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"
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-06 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 13:42 [PATCH] iproute2: split out package for tc Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.