Change app to use sllin0 for demo on m3 board 61/18361/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 28 Nov 2018 15:12:07 +0000 (16:12 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 29 Nov 2018 08:48:18 +0000 (08:48 +0000)
The agl demo uses sllin0 instead of vcan0 .
Adapt the app accordingly for m3 (only).

Change-Id: Ibc6396d68558a12680d87d4a3ded8acb666abe1b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
recipes-demo-hmi/hvac/hvac_git.bbappend [new file with mode: 0644]

diff --git a/recipes-demo-hmi/hvac/hvac_git.bbappend b/recipes-demo-hmi/hvac/hvac_git.bbappend
new file mode 100644 (file)
index 0000000..110f365
--- /dev/null
@@ -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
+}