aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas
diff options
context:
space:
mode:
authorAndrey Dolnikov <andrey.dolnikov@cogentembedded.com>2018-03-09 17:22:33 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-03-12 03:48:48 +0300
commite927958bff31810e8c638c390d5b95b8e7ba603a (patch)
treef294b2c3f0b03fb3ffc1867a320a9c47c0353177 /meta-rcar-gen3-adas
parent9681c03f421a3def0bd21ff87a40293b7f38e09c (diff)
Add udev rules to create nice-looking links to VIP devices.
Diffstat (limited to 'meta-rcar-gen3-adas')
-rw-r--r--meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib.bb2
-rw-r--r--meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/53-vip.rules1
2 files changed, 3 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
index 98485c6..3cff673 100644
--- a/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib.bb
+++ b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib.bb
@@ -4,10 +4,12 @@ LICENSE = "CLOSED"
SRC_URI = " \
file://51-imp.rules \
file://52-cmem.rules \
+ file://53-vip.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/
+ install -m 0644 ${WORKDIR}/53-vip.rules ${D}${sysconfdir}/udev/rules.d/
}
diff --git a/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/53-vip.rules b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/53-vip.rules
new file mode 100644
index 0000000..e42f2e0
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-core/udev/udev-rules-cvlib/53-vip.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="uio", ATTR{name}=="vi*", SYMLINK+="$attr{name}", MODE="0666"