summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorLars Persson <lars.persson@axis.com>2019-03-13 14:08:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-18 11:09:55 +0000
commitdb83d6860aef4a0bd15fca251c994ae8d3384931 (patch)
tree1e0403ca54c2af8174a7dc89bb7ad1983397bf30 /meta/recipes-connectivity
parent400a0468a0f12f7f92f5287053a5fee0bb257fc1 (diff)
downloadopenembedded-core-db83d6860aef4a0bd15fca251c994ae8d3384931.tar.gz
openembedded-core-db83d6860aef4a0bd15fca251c994ae8d3384931.tar.bz2
openembedded-core-db83d6860aef4a0bd15fca251c994ae8d3384931.zip
iproute2: add tc to the alternatives list
The tc command is provided both by busybox and iproute2. Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index b283589063..1aa1eec0de 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -52,3 +52,7 @@ ALTERNATIVE_${PN} = "ip"
ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}"
ALTERNATIVE_LINK_NAME[ip] = "${base_sbindir}/ip"
ALTERNATIVE_PRIORITY = "100"
+
+ALTERNATIVE_${PN}-tc = "tc"
+ALTERNATIVE_LINK_NAME[tc] = "${base_sbindir}/tc"
+ALTERNATIVE_PRIORITY_${PN}-tc = "100"