summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2016-04-20 03:47:33 +0000
committerDenys Dmytriyenko <denys@ti.com>2016-04-19 18:05:37 -0400
commit161173fd66ecab996b9902f7b635918a6824703b (patch)
treecb75c803cf1f57aea79965c11c4e7d382466c9d3
parent4b74d640a29bfc05a471d72d1e371385a5f8e16f (diff)
downloadmeta-ti-161173fd66ecab996b9902f7b635918a6824703b.tar.gz
eudev: only install omap rules file for TI machines
Play nice with other BSPs Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-core/udev/eudev_%.bbappend20
1 files changed, 18 insertions, 2 deletions
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend
index fd0d99bc..a23d0155 100644
--- a/recipes-core/udev/eudev_%.bbappend
+++ b/recipes-core/udev/eudev_%.bbappend
@@ -2,8 +2,24 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3SRC_URI_append = " file://omap-tty.rules" 3SRC_URI_append = " file://omap-tty.rules"
4 4
5PR_append = ".0" 5PR_append = ".1"
6 6
7do_install_append() { 7install_omap_rules() {
8 install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/ 8 install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/
9} 9}
10
11do_install_append_ti33x() {
12 install_omap_rules
13}
14
15do_install_append_ti43x() {
16 install_omap_rules
17}
18
19do_install_append_omap-a15() {
20 install_omap_rules
21}
22
23do_install_append_keystone() {
24 install_omap_rules
25}