diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-09-08 16:19:56 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-09-26 16:12:02 -0700 |
commit | 62a8dfa754932669050ea3a4c25049e769dfbc89 (patch) | |
tree | 1d7ba09c8b9863c3e718f24752cf49b024681b58 | |
parent | 772157bb575837ac2c2635ad78947c411921938b (diff) | |
download | meta-openembedded-62a8dfa754932669050ea3a4c25049e769dfbc89.tar.gz |
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>
(cherry picked from commit 020b87add3368b259662c5994a5a9d7edaa58085)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-extended/socketcan/can-utils_git.bb | 5 |
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 3b2b6a9da1..78caa5be26 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" + |