aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core
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 /recipes-core
parent4b74d640a29bfc05a471d72d1e371385a5f8e16f (diff)
downloadmeta-ti-161173fd66ecab996b9902f7b635918a6824703b.tar.gz
meta-ti-161173fd66ecab996b9902f7b635918a6824703b.tar.bz2
meta-ti-161173fd66ecab996b9902f7b635918a6824703b.zip
eudev: only install omap rules file for TI machines
Play nice with other BSPs Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-core')
-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 fd0d99bca..a23d01556 100644
--- a/recipes-core/udev/eudev_%.bbappend
+++ b/recipes-core/udev/eudev_%.bbappend
@@ -2,8 +2,24 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://omap-tty.rules"
-PR_append = ".0"
+PR_append = ".1"
-do_install_append() {
+install_omap_rules() {
install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/
}
+
+do_install_append_ti33x() {
+ install_omap_rules
+}
+
+do_install_append_ti43x() {
+ install_omap_rules
+}
+
+do_install_append_omap-a15() {
+ install_omap_rules
+}
+
+do_install_append_keystone() {
+ install_omap_rules
+}