summaryrefslogtreecommitdiffstats
path: root/recipes-config/dev-mapping-demo/dev-mapping-demo_1.0.bb
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-12-29 18:30:47 -0500
committerScott Murray <scott.murray@konsulko.com>2019-12-29 18:30:47 -0500
commit1007e85d17d9b86aa82ed41872d207da1eba69e1 (patch)
tree89bcdd1ffcae77a1df3d49faa1787082af2e0ec7 /recipes-config/dev-mapping-demo/dev-mapping-demo_1.0.bb
parentde3651df110c9c610b0d473d7ce90a10ec531a7a (diff)
Add demo low-can device mapping
Rework the agl-demo-preload feature to specify a new demo-specific PREFERRED_RPROVIDER for the new virtual/low-can-dev-mapping virtual package. This enables using the sllin0 interface on the CES demo setup as the low-speed interface. Bug-AGL: SPEC-3076 Change-Id: I872137d8acb1f5ec5df9eac92f25953b28128b36 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-config/dev-mapping-demo/dev-mapping-demo_1.0.bb')
-rw-r--r--recipes-config/dev-mapping-demo/dev-mapping-demo_1.0.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-config/dev-mapping-demo/dev-mapping-demo_1.0.bb b/recipes-config/dev-mapping-demo/dev-mapping-demo_1.0.bb
new file mode 100644
index 000000000..4a04ce13b
--- /dev/null
+++ b/recipes-config/dev-mapping-demo/dev-mapping-demo_1.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "AGL demo device mapping configuration file"
+DESCRIPTION = "This provide default dev-mapping.conf file \
+ that defines mapping between kernel device and logical name \
+ used in low-can binding for the AGL demo setup."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SRC_URI += "file://dev-mapping.conf.demo"
+
+inherit allarch
+
+do_install() {
+ install -d ${D}${sysconfdir}
+ install -m 0644 ${WORKDIR}/dev-mapping.conf.demo ${D}${sysconfdir}/dev-mapping.conf
+}
+
+RPROVIDES_${PN} = "virtual/low-can-dev-mapping"