X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-platform%2Fpackagegroups%2Fpackagegroup-agl-demo-platform.bb;h=e15134c2a35d596b41563c348aec2d07d0f6e9a1;hb=3cc80df78623edf03f7b203ff47828f77e5cf4cd;hp=9deaea2a154fbd7454a720f379e849b940c9a27e;hpb=c7710ecc186df8b211373524244a05187406b490;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb old mode 100755 new mode 100644 index 9deaea2a1..e15134c2a --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb @@ -31,6 +31,7 @@ MOST_HVAC_append = " \ ${MOST_DRIVERS} \ unicens-config \ agl-service-unicens \ + agl-service-unicens-controller \ " # @Chris: This needs to be checked! @@ -41,15 +42,16 @@ AGL_APPS = " \ dashboard \ hvac \ mediaplayer \ - virtual/mixer \ virtual/navigation \ phone \ poiapp \ radio \ settings \ + ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'taskmanager' , '', d)} \ high-level-viwi-service \ agl-service-signal-composer \ low-can-demo \ + virtual/mixer \ " AGL_APIS = " \ @@ -58,8 +60,24 @@ 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)}" +# Cluster demo support. +# ATM mapviewer is required for navigation map viewing when doing cluster +# demos with the older navigation application. +MAPVIEWER = "${@bb.utils.contains("PREFERRED_PROVIDER_virtual/navigation", "navigation", "mapviewer", "",d)}" +CLUSTER_SUPPORT = "${@bb.utils.contains("DISTRO_FEATURES", "agl-cluster-demo-support", "${MAPVIEWER} cluster-demo-network-config", "",d)}" + +# Preload poi API key for demo if requested, and potentially maps for older +# navigation application if it is configured. +DEMO_MAPS_LOCALE ?= "uk" +DEMO_PRELOAD_MAPS = "${@bb.utils.contains("PREFERRED_PROVIDER_virtual/navigation", "navigation", " navigation-maps-${DEMO_MAPS_LOCALE}", "",d)}" +DEMO_PRELOAD = "${@bb.utils.contains("DISTRO_FEATURES", "agl-demo-preload", " ${DEMO_PRELOAD_MAPS} poiapp-api-key", "",d)}" + +# Hook for demo platform configuration +# ATM, only used to disable btwilink module on M3ULCB + Kingfisher by default, +# setting DEMO_ENABLE_BTWILINK to "true" in local.conf / site.conf re-enables. +DEMO_ENABLE_BTWILINK ?= "" +DEMO_PLATFORM_CONF = "" +DEMO_PLATFORM_CONF_append_m3ulcb = "${@bb.utils.contains("DEMO_ENABLE_BTWILINK", "true", "", " btwilink-disable-conf", d)}" RDEPENDS_${PN}_append = " \ qtquickcontrols2-agl \ @@ -69,7 +87,7 @@ RDEPENDS_${PN}_append = " \ ${AGL_APPS} \ ${AGL_APIS} \ ${QTAGLEXTRAS} \ - ${MAPVIEWER} \ + ${CLUSTER_SUPPORT} \ + ${DEMO_PRELOAD} \ + ${DEMO_PLATFORM_CONF} \ " - -