diff options
author | Denys Dmytriyenko <denys@ti.com> | 2016-04-20 03:47:33 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2016-04-19 18:05:37 -0400 |
commit | 161173fd66ecab996b9902f7b635918a6824703b (patch) | |
tree | cb75c803cf1f57aea79965c11c4e7d382466c9d3 | |
parent | 4b74d640a29bfc05a471d72d1e371385a5f8e16f (diff) | |
download | meta-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_%.bbappend | 20 |
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 | ||
3 | SRC_URI_append = " file://omap-tty.rules" | 3 | SRC_URI_append = " file://omap-tty.rules" |
4 | 4 | ||
5 | PR_append = ".0" | 5 | PR_append = ".1" |
6 | 6 | ||
7 | do_install_append() { | 7 | install_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 | |||
11 | do_install_append_ti33x() { | ||
12 | install_omap_rules | ||
13 | } | ||
14 | |||
15 | do_install_append_ti43x() { | ||
16 | install_omap_rules | ||
17 | } | ||
18 | |||
19 | do_install_append_omap-a15() { | ||
20 | install_omap_rules | ||
21 | } | ||
22 | |||
23 | do_install_append_keystone() { | ||
24 | install_omap_rules | ||
25 | } | ||