From: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Date: Thu, 8 Nov 2018 05:53:14 +0000 (+0100)
Subject: Use sllin0 for agl-service-hvac for m3ulcb demo
X-Git-Tag: 6.99.1~17
X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F17805%2F2;p=AGL%2Fmeta-agl.git

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>
---

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