All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-freescale-layer][PATCH 1/2] udev-rules-qoriq: allow no rules installed
@ 2016-08-25  5:50 ting.liu
  2016-08-25  5:50 ` [meta-freescale-layer][PATCH 2/2] udev-rules-qoriq: added into MACHINE_EXTRA_RRECOMMENDS ting.liu
  0 siblings, 1 reply; 3+ messages in thread
From: ting.liu @ 2016-08-25  5:50 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

* set RULE to empty for ls2080ardb.
* use loop to handle the case when RULE is empty.
* set ALLOW_EMPTY to 1.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 recipes-core/udev/udev-rules-qoriq.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb
index 62f2371..6eedec8 100644
--- a/recipes-core/udev/udev-rules-qoriq.bb
+++ b/recipes-core/udev/udev-rules-qoriq.bb
@@ -15,10 +15,14 @@ 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"
 RULE_ls1043ardb = "73-fsl-dpaa-persistent-networking.rules"
+RULE_ls2080ardb = ""
 
 do_install () {
     install -d ${D}${sysconfdir}/udev/rules.d/
-    install -m 0644 ${WORKDIR}/${RULE} ${D}${sysconfdir}/udev/rules.d/
+    for r in ${RULE};do
+        install -m 0644 ${WORKDIR}/${r} ${D}${sysconfdir}/udev/rules.d/
+    done
 }
 
+ALLOW_EMPTY_${PN} = "1"
 COMPATIBLE_MACHINE = "(qoriq)"
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-freescale-layer][PATCH 2/2] udev-rules-qoriq: added into MACHINE_EXTRA_RRECOMMENDS
  2016-08-25  5:50 [meta-freescale-layer][PATCH 1/2] udev-rules-qoriq: allow no rules installed ting.liu
@ 2016-08-25  5:50 ` ting.liu
  2016-09-08  2:56   ` Ting Liu
  0 siblings, 1 reply; 3+ messages in thread
From: ting.liu @ 2016-08-25  5:50 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 conf/machine/include/qoriq-base.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 603683a..0a463ee 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -15,7 +15,7 @@ PREFERRED_VERSION_testfloat = "2a"
 IMAGE_CLASSES += "image_types_uboot"
 
 MACHINE_FEATURES ?= "pci ext2 ext3 serial"
-MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf kernel-modules"
+MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq kernel-modules"
 
 EXTRA_IMAGEDEPENDS += "u-boot cst-native"
 
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-freescale-layer][PATCH 2/2] udev-rules-qoriq: added into MACHINE_EXTRA_RRECOMMENDS
  2016-08-25  5:50 ` [meta-freescale-layer][PATCH 2/2] udev-rules-qoriq: added into MACHINE_EXTRA_RRECOMMENDS ting.liu
@ 2016-09-08  2:56   ` Ting Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Ting Liu @ 2016-09-08  2:56 UTC (permalink / raw)
  To: meta-freescale, Otavio Salvador

Hello Otavio,

May I know when the patches will be merged? I sent them two weeks ago and did not see any comment.

-Ting

> -----Original Message-----
> From: ting.liu@nxp.com [mailto:ting.liu@nxp.com]
> Sent: Thursday, August 25, 2016 1:51 PM
> To: meta-freescale@yoctoproject.org
> Cc: Zhenhua Luo <zhenhua.luo@nxp.com>; Ting Liu <ting.liu@nxp.com>
> Subject: [meta-freescale-layer][PATCH 2/2] udev-rules-qoriq: added into
> MACHINE_EXTRA_RRECOMMENDS
> 
> From: Ting Liu <ting.liu@nxp.com>
> 
> Signed-off-by: Ting Liu <ting.liu@nxp.com>
> ---
>  conf/machine/include/qoriq-base.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/conf/machine/include/qoriq-base.inc
> b/conf/machine/include/qoriq-base.inc
> index 603683a..0a463ee 100644
> --- a/conf/machine/include/qoriq-base.inc
> +++ b/conf/machine/include/qoriq-base.inc
> @@ -15,7 +15,7 @@ PREFERRED_VERSION_testfloat = "2a"
>  IMAGE_CLASSES += "image_types_uboot"
> 
>  MACHINE_FEATURES ?= "pci ext2 ext3 serial"
> -MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf kernel-modules"
> +MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq
> kernel-modules"
> 
>  EXTRA_IMAGEDEPENDS += "u-boot cst-native"
> 
> --
> 1.9.2



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-08 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-25  5:50 [meta-freescale-layer][PATCH 1/2] udev-rules-qoriq: allow no rules installed ting.liu
2016-08-25  5:50 ` [meta-freescale-layer][PATCH 2/2] udev-rules-qoriq: added into MACHINE_EXTRA_RRECOMMENDS ting.liu
2016-09-08  2:56   ` Ting Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.