aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-09-08 16:19:56 +0200
committerKhem Raj <raj.khem@gmail.com>2021-09-08 21:29:53 -0700
commit020b87add3368b259662c5994a5a9d7edaa58085 (patch)
tree1bb948f37f5d9b474b2cdf8f865560fa7e716343 /meta-oe
parent71ab0ca5d65ded4cd812cb99addb6a52f6d5b6b2 (diff)
downloadmeta-openembedded-contrib-020b87add3368b259662c5994a5a9d7edaa58085.tar.gz
meta-openembedded-contrib-020b87add3368b259662c5994a5a9d7edaa58085.tar.bz2
meta-openembedded-contrib-020b87add3368b259662c5994a5a9d7edaa58085.zip
can-utils: rrecommend iproute2 to make it possible to configure can interfaces
This replicates the fix from canutils.bb, for the same issue. See the link in the comment for details. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-extended/socketcan/can-utils_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/socketcan/can-utils_git.bb b/meta-oe/recipes-extended/socketcan/can-utils_git.bb
index 8d63a10e54..1a2d330904 100644
--- a/meta-oe/recipes-extended/socketcan/can-utils_git.bb
+++ b/meta-oe/recipes-extended/socketcan/can-utils_git.bb
@@ -45,3 +45,8 @@ ALTERNATIVE:${PN} = "candump cansend cansequence"
ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"
ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence"
+
+# busybox ip fails to configure can interfaces, so we need iproute2 to do so.
+# See details in http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver.
+RRECOMMENDS:${PN} += "iproute2"
+