aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/socketcan/can-utils_git.bb
diff options
context:
space:
mode:
authorSean Nyekjaer <sean@geanix.com>2021-02-22 13:12:50 +0100
committerKhem Raj <raj.khem@gmail.com>2021-02-22 09:24:34 -0800
commit1b4da9f2ad20536d9524397589d4e29179958972 (patch)
tree32d4be46e2cb1c618398dd80b6a8228742fcac17 /meta-oe/recipes-extended/socketcan/can-utils_git.bb
parentb950ca28048d04af0355bc91203e2e7090a60cbb (diff)
downloadmeta-openembedded-contrib-1b4da9f2ad20536d9524397589d4e29179958972.tar.gz
meta-openembedded-contrib-1b4da9f2ad20536d9524397589d4e29179958972.tar.bz2
meta-openembedded-contrib-1b4da9f2ad20536d9524397589d4e29179958972.zip
can-utils: split into more packages
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/socketcan/can-utils_git.bb')
-rw-r--r--meta-oe/recipes-extended/socketcan/can-utils_git.bb27
1 files changed, 27 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 bc930ac9df..3b2b6a9da1 100644
--- a/meta-oe/recipes-extended/socketcan/can-utils_git.bb
+++ b/meta-oe/recipes-extended/socketcan/can-utils_git.bb
@@ -14,6 +14,33 @@ S = "${WORKDIR}/git"
inherit autotools pkgconfig update-alternatives
+PACKAGES =+ "${PN}-access ${PN}-isotp ${PN}-j1939 ${PN}-cantest ${PN}-slcan ${PN}-log"
+
+FILES_${PN}-access = " \
+ ${bindir}/cangw \
+ ${bindir}/canlogserver \
+ ${bindir}/bcmserver \
+ ${bindir}/socketcand \
+ ${bindir}/cannelloni \
+"
+
+FILES_${PN}-isotp = "${bindir}/isotp*"
+
+FILES_${PN}-j1939 = " \
+ ${bindir}/j* \
+ ${bindir}/testj1939 \
+"
+
+FILES_${PN}-cantest = " \
+ ${bindir}/canbusload \
+ ${bindir}/can-calc-bit-timing \
+ ${bindir}/canfdtest \
+"
+
+FILES_${PN}-slcan = "${bindir}/slcan*"
+
+FILES_${PN}-log = "${bindir}/*log*"
+
ALTERNATIVE_${PN} = "candump cansend cansequence"
ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"