Add low-level-can-generator as devtool in SDK 43/10143/8
authorRomain Forlot <romain.forlot@iot.bzh>
Mon, 17 Jul 2017 09:25:25 +0000 (09:25 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 18 Jul 2017 14:10:40 +0000 (14:10 +0000)
To ease devlopment with low level CAN service, you have to use
the generator to be able to customize signals handled by the service.

Change-Id: Id51415ee339a5ede77bc875aa893893f1b31dbdf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10143
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl/recipes-devtools/low-level-can-generator/low-level-can-generator_git.bb [new file with mode: 0644]
meta-agl/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend [new file with mode: 0644]

diff --git a/meta-agl/recipes-devtools/low-level-can-generator/low-level-can-generator_git.bb b/meta-agl/recipes-devtools/low-level-can-generator/low-level-can-generator_git.bb
new file mode 100644 (file)
index 0000000..90642f2
--- /dev/null
@@ -0,0 +1,17 @@
+SUMMARY     = "Low level CAN generator"
+DESCRIPTION = "Generator used to customize low level CAN service with customs signals"
+SECTION     = "devel"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+inherit cmake pkgconfig
+BBCLASSEXTEND = "nativesdk"
+DEPENDS = "af-main"
+
+SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/src/low-level-can-generator;protocol=https"
+SRCREV = "92f95384ce4b4a198b1fea93272201421f7b9a39"
+
+PV = "4.0+git${SRCPV}"
+S  = "${WORKDIR}/git"
+
diff --git a/meta-agl/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/meta-agl/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
new file mode 100644 (file)
index 0000000..504a019
--- /dev/null
@@ -0,0 +1 @@
+RDEPENDS_${PN} += "nativesdk-low-level-can-generator"