summaryrefslogtreecommitdiffstats
path: root/conf/include
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-01-06 18:35:50 -0500
committerScott Murray <scott.murray@konsulko.com>2021-01-12 15:43:44 +0000
commit602966ea9205b5bc2c29946952afb54b7fdbcf47 (patch)
treef8ecab6200e92651e5b64e4de68ce1d43d9c1d40 /conf/include
parent161b988ccac63ce2c92acff0917e2ea811770c28 (diff)
Add dev-mapping-ci recipe
Add a dev-mapping-ci recipe that installs a CI specific version of /etc/dev-mapping.conf for the agl-service-can-low-level binding. Additionally, the dev-mapping-demo recipe files have been moved to recipes-config/dev-mapping so all the dev-mapping* recipes are in the same place, and the now required "j1939" bus mapping has been added to the various dev-mapping files. To enable use of the new recipe, a definition of the variable PREFERRED_RPROVIDER_virtual/low-can-dev-mapping has been added to the agl-demo feature definition that enables it based on the AGLCI DISTRO_FEATURE. This is intended to replace the definition in poky-agl.conf, which will be removed in subsequent cleanup. Bug-AGL: SPEC-3756 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ieb80a7f4b76ddd7851acca521dea1a8dd104cf86
Diffstat (limited to 'conf/include')
-rw-r--r--conf/include/agl-demo.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/include/agl-demo.inc b/conf/include/agl-demo.inc
index c3c051d88..7d6db8ce4 100644
--- a/conf/include/agl-demo.inc
+++ b/conf/include/agl-demo.inc
@@ -12,6 +12,9 @@ FEATURE_PACKAGES_agl-voiceagent-alexa_append = " alexa-viewer"
# enable the layer
AGL_FEATURES_append = " agldemo"
+# Set preferred provider for low-can device mapping configuration
+PREFERRED_RPROVIDER_virtual/low-can-dev-mapping ?= "${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'dev-mapping-ci', 'dev-mapping', d)}"
+
# voice api inclusion
PREFERRED_RPROVIDER_virtual/voice-high-config = "default-voice-high-config"
FEATURE_PACKAGES_agl-speech-framework = "packagegroup-agl-speech-services"