[meta-ti] Denys Dmytriyenko : eudev: only install omap rules file for TI machines
Arago Project git
git at arago-project.org
Tue Apr 19 15:05:58 PDT 2016
Module: meta-ti
Branch: master
Commit: 161173fd66ecab996b9902f7b635918a6824703b
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=161173fd66ecab996b9902f7b635918a6824703b
Author: Denys Dmytriyenko <denys at ti.com>
Date: Wed Apr 20 03:47:33 2016 +0000
eudev: only install omap rules file for TI machines
Play nice with other BSPs
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-core/udev/eudev_%.bbappend | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend
index fd0d99b..a23d015 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
+}
More information about the meta-ti
mailing list