Patchwork [meta-fsl-ppc,danny] Remove DISTRO string and use PRINC := "${@int(PRINC) + 1}"

login
register
mail settings
Submitter chunrong guo
Date April 19, 2013, 2:42 a.m.
Message ID <1366339343-4674-1-git-send-email-b40290@freescale.com>
Download mbox | patch
Permalink /patch/48551/
State Accepted
Headers show

Comments

chunrong guo - April 19, 2013, 2:42 a.m.
From: Chunrong Guo <B40290@freescale.com>

Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 recipes-append/busybox/busybox_1.20.2.bbappend     |    2 +-
 recipes-append/libxml/libxml2_2.8.0.bbappend       |    2 +-
 recipes-append/netbase/netbase_5.0.bbappend        |    2 +-
 recipes-append/procps/procps_3.2.8.bbappend        |    2 +-
 recipes-append/sysvinit/sysvinit_2.88dsf.bbappend  |    2 +-
 recipes-append/udev/udev_164.bbappend              |    2 +-
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
Otavio Salvador - April 19, 2013, 11:51 a.m.
On Thu, Apr 18, 2013 at 11:42 PM,  <b40290@freescale.com> wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
> Signed-off-by: Chunrong Guo <B40290@freescale.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
Zhenhua Luo - April 22, 2013, 5:37 a.m.
Applied, thanks. 


Best Regards,

Zhenhua


> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Otavio Salvador
> Sent: Friday, April 19, 2013 7:51 PM
> To: Guo Chunrong-B40290
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH][danny] Remove DISTRO
> string and use PRINC := "${@int(PRINC) + 1}"
> 
> On Thu, Apr 18, 2013 at 11:42 PM,  <b40290@freescale.com> wrote:
> > From: Chunrong Guo <B40290@freescale.com>
> >
> > Signed-off-by: Chunrong Guo <B40290@freescale.com>
> 
> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
> 
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

Patch

diff --git a/recipes-append/busybox/busybox_1.20.2.bbappend b/recipes-append/busybox/busybox_1.20.2.bbappend
index 9c52eeb..82cfced 100644
--- a/recipes-append/busybox/busybox_1.20.2.bbappend
+++ b/recipes-append/busybox/busybox_1.20.2.bbappend
@@ -1,4 +1,4 @@ 
-PR_append_fsl = "+${DISTRO}.0"
+PRINC := "${@int(PRINC) + 1}"
 
 FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/busybox-1.20.2:"
 
diff --git a/recipes-append/libxml/libxml2_2.8.0.bbappend b/recipes-append/libxml/libxml2_2.8.0.bbappend
index 13c1fd7..4ee332c 100644
--- a/recipes-append/libxml/libxml2_2.8.0.bbappend
+++ b/recipes-append/libxml/libxml2_2.8.0.bbappend
@@ -1,3 +1,3 @@ 
 EXTRA_OECONF_fsl += "--with-fexceptions"
 
-PR_fsl .= "+${DISTRO}.0"
+PRINC := "${@int(PRINC) + 1}"
diff --git a/recipes-append/netbase/netbase_5.0.bbappend b/recipes-append/netbase/netbase_5.0.bbappend
index dc0fd0a..fc4a866 100644
--- a/recipes-append/netbase/netbase_5.0.bbappend
+++ b/recipes-append/netbase/netbase_5.0.bbappend
@@ -7,4 +7,4 @@  do_install_append_fsl () {
 	install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d
 }
 
-PR_fsl .= "+${DISTRO}"
+PRINC := "${@int(PRINC) + 1}"
diff --git a/recipes-append/procps/procps_3.2.8.bbappend b/recipes-append/procps/procps_3.2.8.bbappend
index f5d4fd1..7ade102 100644
--- a/recipes-append/procps/procps_3.2.8.bbappend
+++ b/recipes-append/procps/procps_3.2.8.bbappend
@@ -1,3 +1,3 @@ 
-PR_fsl .= "+${DISTRO}.0"
+PRINC := "${@int(PRINC) + 1}"
 
 FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
diff --git a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
index 9c9dc75..12dbb6d 100644
--- a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
+++ b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
@@ -1,5 +1,5 @@ 
 FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
 
-PR_fsl .= "+${DISTRO}.1"
+PRINC := "${@int(PRINC) + 1}"
 
 SRC_URI_append_fsl = " file://auto-detect-hostname.patch;patchdir=../"
diff --git a/recipes-append/udev/udev_164.bbappend b/recipes-append/udev/udev_164.bbappend
index f15533b..c7a8d90 100644
--- a/recipes-append/udev/udev_164.bbappend
+++ b/recipes-append/udev/udev_164.bbappend
@@ -1,3 +1,3 @@ 
 FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
 
-PR_fsl .= "+${DISTRO}.1"
+PRINC := "${@int(PRINC) + 1}"
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index 0291bb7..7ae4ec2 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -1,3 +1,3 @@ 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR .= "+${DISTRO}"
+PRINC := "${@int(PRINC) + 1}"