aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-core/udev
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-12-19 15:07:39 -0500
committerTom Rini <trini@konsulko.com>2017-12-19 15:07:39 -0500
commit9ae3b81724f87dcc1f5cbd618c472e0cf79b2791 (patch)
treed3d1e6ac479ba64a78dcf16e521898a44ed08878 /meta-rcar-gen3-adas/recipes-core/udev
parent592c4aca65cc41ea9e5757084ae1d488d2bbd8b0 (diff)
parenteb675727a6bfdee2ba7dd36644403163f9d905e2 (diff)
Merge branch 'pyro' into eel
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-core/udev')
-rw-r--r--meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib.bb13
-rw-r--r--meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/51-imp.rules1
-rw-r--r--meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/52-cmem.rules1
3 files changed, 15 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib.bb b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib.bb
new file mode 100644
index 0000000..98485c6
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib.bb
@@ -0,0 +1,13 @@
+SUMMARY = "udev rules for R-Car Gen3 CV Library"
+LICENSE = "CLOSED"
+
+SRC_URI = " \
+ file://51-imp.rules \
+ file://52-cmem.rules \
+"
+
+do_install () {
+ install -d ${D}${sysconfdir}/udev/rules.d/
+ install -m 0644 ${WORKDIR}/51-imp.rules ${D}${sysconfdir}/udev/rules.d/
+ install -m 0644 ${WORKDIR}/52-cmem.rules ${D}${sysconfdir}/udev/rules.d/
+}
diff --git a/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/51-imp.rules b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/51-imp.rules
new file mode 100644
index 0000000..df1a4b2
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/51-imp.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="uio", ATTR{name}=="im*", SYMLINK+="$attr{name}", MODE="0666"
diff --git a/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/52-cmem.rules b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/52-cmem.rules
new file mode 100644
index 0000000..7846e68
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/52-cmem.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="cmem", MODE="0666"