aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-01-06 08:00:26 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-02-06 21:07:53 +0000
commitd72179594985169ccc29bfea2dc9c5e6df23e77b (patch)
treec76df1c7751151956e5e57f0829bc6d76b864bae
parentde25e427e35fe5c9a6eb76c5db18cc6a63907866 (diff)
demo-i2c-udev-conf: fix inclusion in packagegroup-agl-demo-platform
The inclusion was not working. Fix it. Bug-AGL: SPEC-3091 . Change-Id: Ibbeed9665e4f1cde58a7b60205b33f94a7039d59 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb
index 944b34bdc..d744f50d1 100644
--- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb
+++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb
@@ -62,11 +62,12 @@ CLUSTER_SUPPORT_PACKAGES = " \
"
CLUSTER_SUPPORT = "${@bb.utils.contains("DISTRO_FEATURES", "agl-cluster-demo-support", "${CLUSTER_SUPPORT_PACKAGES}", "",d)}"
+DEMO_UNIT_CONF ?= ""
# Hook for demo platform configuration
# ATM used for:
# 1) Adding udev configuration and scripts for supporting USB attached
# I2C devices for RTC and HVAC LED support.
-DEMO_PLATFORM_CONF = " demo-i2c-udev-conf "
+DEMO_UNIT_CONF += " demo-i2c-udev-conf "
# Preload poi API key for demo if requested, and potentially maps for older
# navigation application if it is configured.
@@ -74,7 +75,7 @@ DEMO_MAPS_LOCALE ?= "uk"
DEMO_PRELOAD_MAPS = "${@bb.utils.contains("PREFERRED_RPROVIDER_virtual/navigation", "navigation", " navigation-maps-${DEMO_MAPS_LOCALE}", "",d)}"
# Preload only if agl-demo-preload is set
-DEMO_PRELOAD = "${@bb.utils.contains("DISTRO_FEATURES", "agl-demo-preload", " ${DEMO_PRELOAD_MAPS} ${DEMO_PLATFORM_CONF} poiapp-api-key", "",d)}"
+DEMO_PRELOAD = "${@bb.utils.contains("DISTRO_FEATURES", "agl-demo-preload", " ${DEMO_PRELOAD_MAPS} ${DEMO_UNIT_CONF} poiapp-api-key", "",d)}"
RDEPENDS_${PN}_append = " \