diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-08-12 22:42:18 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:15 -0300 |
commit | 0852984c31cb66eada923fe311cc45c71b0bfaed (patch) | |
tree | a2939fff91043a2ba5104fe4ff30cfdc177461d7 /recipes-core/udev | |
parent | 22f20b33f442514e3bb93ec35b9c363eb07661bc (diff) | |
download | meta-freescale-0852984c31cb66eada923fe311cc45c71b0bfaed.tar.gz |
udev-rules-qoriq: Add S definition and make the recipe qoriq-ppc specific
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/udev')
-rw-r--r-- | recipes-core/udev/udev-rules-qoriq.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb index c0e897e7..c6827da4 100644 --- a/recipes-core/udev/udev-rules-qoriq.bb +++ b/recipes-core/udev/udev-rules-qoriq.bb | |||
@@ -6,12 +6,14 @@ SRC_URI = "\ | |||
6 | file://71-fsl-dpaa-persistent-networking.rules \ | 6 | file://71-fsl-dpaa-persistent-networking.rules \ |
7 | file://72-fsl-dpaa-persistent-networking.rules \ | 7 | file://72-fsl-dpaa-persistent-networking.rules \ |
8 | " | 8 | " |
9 | RULE ?= "71-fsl-dpaa-persistent-networking.rules" | 9 | RULE_qoriq-ppc = "71-fsl-dpaa-persistent-networking.rules" |
10 | RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" | 10 | RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" |
11 | RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" | 11 | RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" |
12 | RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" | 12 | RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" |
13 | RULE_t1023 = "72-fsl-dpaa-persistent-networking.rules" | 13 | RULE_t1023 = "72-fsl-dpaa-persistent-networking.rules" |
14 | 14 | ||
15 | S = "${WORKDIR}" | ||
16 | |||
15 | do_install () { | 17 | do_install () { |
16 | install -d ${D}${sysconfdir}/udev/rules.d/ | 18 | install -d ${D}${sysconfdir}/udev/rules.d/ |
17 | install -m 0644 ${WORKDIR}/${RULE} ${D}${sysconfdir}/udev/rules.d/ | 19 | install -m 0644 ${WORKDIR}/${RULE} ${D}${sysconfdir}/udev/rules.d/ |
@@ -22,4 +24,4 @@ do_install () { | |||
22 | echo "/dev/nbd*" >>${D}${sysconfdir}/udev/mount.blacklist | 24 | echo "/dev/nbd*" >>${D}${sysconfdir}/udev/mount.blacklist |
23 | } | 25 | } |
24 | 26 | ||
25 | COMPATIBLE_MACHINE = "(qoriq-arm|qoriq-ppc)" | 27 | COMPATIBLE_MACHINE = "(qoriq-ppc)" |