]> code.ossystems Code Review - meta-freescale.git/commitdiff
udev-rules-qoriq: Add S definition and make the recipe qoriq-ppc specific
authorZhenhua Luo <zhenhua.luo@freescale.com>
Wed, 12 Aug 2015 14:42:18 +0000 (22:42 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:15 +0000 (15:03 -0300)
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>
recipes-core/udev/udev-rules-qoriq.bb

index c0e897e79d417f2b96d79f7f94d4ff7659fd4cff..c6827da4a6f327461a961507734249565eb8ccfc 100644 (file)
@@ -6,12 +6,14 @@ SRC_URI = "\
     file://71-fsl-dpaa-persistent-networking.rules \
     file://72-fsl-dpaa-persistent-networking.rules \
 "
-RULE ?= "71-fsl-dpaa-persistent-networking.rules"
+RULE_qoriq-ppc = "71-fsl-dpaa-persistent-networking.rules"
 RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules"
 RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules"
 RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules"
 RULE_t1023 = "72-fsl-dpaa-persistent-networking.rules"
 
+S = "${WORKDIR}"
+
 do_install () {
     install -d ${D}${sysconfdir}/udev/rules.d/
     install -m 0644 ${WORKDIR}/${RULE} ${D}${sysconfdir}/udev/rules.d/
@@ -22,4 +24,4 @@ do_install () {
     echo "/dev/nbd*" >>${D}${sysconfdir}/udev/mount.blacklist
 }
 
-COMPATIBLE_MACHINE = "(qoriq-arm|qoriq-ppc)"
+COMPATIBLE_MACHINE = "(qoriq-ppc)"