aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrecipes-platform/packagegroups/packagegroup-agl-demo-platform.bb10
-rw-r--r--templates/feature/agl-cluster-demo-support/50_local.conf.inc1
-rw-r--r--templates/feature/agl-cluster-demo-support/included.dep1
3 files changed, 7 insertions, 5 deletions
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb
index f3191ca18..9deaea2a1 100755
--- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb
+++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb
@@ -37,9 +37,6 @@ MOST_HVAC_append = " \
MOST_HVAC_dra7xx-evm = ""
MOST_HVAC_dragonboard-410c = ""
-# mapviewer and mapviewer-demo requires AGL CES2017 demo mock-up
-MAPVIEWER = "${@bb.utils.contains("DISTRO_FEATURES", "agl-mapviewer-demo", " mapviewer mapviewer-demo", "",d)}"
-
AGL_APPS = " \
dashboard \
hvac \
@@ -61,15 +58,18 @@ AGL_APIS = " \
QTAGLEXTRAS = "${@bb.utils.contains("DISTRO_FEATURES", "agl-hmi-framework", " qtaglextras", "",d)}"
+# mapviewer and mapviewer-demo are required for AGL cluster demo
+MAPVIEWER = "${@bb.utils.contains("DISTRO_FEATURES", "agl-cluster-demo-support", " mapviewer mapviewer-demo", "",d)}"
+
RDEPENDS_${PN}_append = " \
qtquickcontrols2-agl \
qtquickcontrols2-agl-style \
linux-firmware-ralink \
- ${QTAGLEXTRAS} \
- ${MAPVIEWER} \
${MOST_HVAC} \
${AGL_APPS} \
${AGL_APIS} \
+ ${QTAGLEXTRAS} \
+ ${MAPVIEWER} \
"
diff --git a/templates/feature/agl-cluster-demo-support/50_local.conf.inc b/templates/feature/agl-cluster-demo-support/50_local.conf.inc
new file mode 100644
index 000000000..f4724b586
--- /dev/null
+++ b/templates/feature/agl-cluster-demo-support/50_local.conf.inc
@@ -0,0 +1 @@
+DISTRO_FEATURES_append = " agl-cluster-demo-support"
diff --git a/templates/feature/agl-cluster-demo-support/included.dep b/templates/feature/agl-cluster-demo-support/included.dep
new file mode 100644
index 000000000..17ef3ba98
--- /dev/null
+++ b/templates/feature/agl-cluster-demo-support/included.dep
@@ -0,0 +1 @@
+agl-gstrecorder