aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-11-08 06:53:14 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-11-12 18:15:13 +0000
commitfe84cbaf8ef8a32bb6ca5aa42a117dab8c668e15 (patch)
tree98dbb4ffad542af39e11c9168f7380b2933581d6
parenta65624407900a1d449c40da693540e610532818d (diff)
Use sllin0 for agl-service-hvac for m3ulcb demo
The green demo machines use m3+kf and serial lin to communicate with the actuators. Adapt the recipe. Change-Id: Ia4afea115f16d633d2eeb16c0c662832f81dc438 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bbappend5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bbappend b/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bbappend
new file mode 100644
index 000000000..0817d5edd
--- /dev/null
+++ b/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bbappend
@@ -0,0 +1,5 @@
+# for demo
+PACKAGE_ARCH_m3ulcb = "${MACHINE_ARCH}"
+do_configure_prepend_m3ulcb() {
+sed -i -e "s#vcan0#sllin0#g" ${S}/binding/hvac-demo-binding.c
+} \ No newline at end of file