All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash
@ 2013-07-02  3:39 b28495
  2013-07-02  3:39 ` [meta-fsl-ppc][PATCH 2/2] usdpaa: set MACHINE_ARCH specific, same with dependency fmc b28495
  2013-07-02 12:11 ` [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash Otavio Salvador
  0 siblings, 2 replies; 5+ messages in thread
From: b28495 @ 2013-07-02  3:39 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
Tested-by: Luo Zhenhua-B19537 <zhenhua.luo@freescale.com>
---
 recipes-kernel/u-boot/u-boot_git.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb
index 7427dfc..c3aa105 100644
--- a/recipes-kernel/u-boot/u-boot_git.bb
+++ b/recipes-kernel/u-boot/u-boot_git.bb
@@ -47,7 +47,7 @@ do_compile () {
 	unset CFLAGS
 	unset CPPFLAGS
 
-	if [ "x${UBOOT_MACHINES}" == "x" ]; then
+	if [ "x${UBOOT_MACHINES}" = "x" ]; then
 		UBOOT_MACHINES=${UBOOT_MACHINE}
 	fi
 
@@ -64,9 +64,9 @@ do_compile () {
 		esac
 
 		if [ "x${UBOOT_TARGET}" != "x" ]; then
-			if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then
+			if [ "${UBOOT_TARGET}" = "u-boot-sd" ]; then
 				cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
-            elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then
+            elif [ "${UBOOT_TARGET}" = "u-boot-nand" ];then
 				if [ "${DEFAULTTUNE}" = "ppce500v2" ];then
                     if echo $board |egrep "(P1010RDB|P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB|BSC9131RDB|BSC9132QDS)" 2>&1 >/dev/null;then
                         cp ${S}/${board}/u-boot-with-spl.bin ${S}/${board}/${UBOOT_TARGET}.bin
@@ -88,7 +88,7 @@ do_compile () {
 }
 
 do_install(){
-	if [ "x${UBOOT_MACHINES}" == "x" ]; then
+	if [ "x${UBOOT_MACHINES}" = "x" ]; then
 		UBOOT_MACHINES=${UBOOT_MACHINE}
 	fi
 
@@ -109,7 +109,7 @@ do_install(){
 }
 
 do_deploy(){
-	if [ "x${UBOOT_MACHINES}" == "x" ]; then
+	if [ "x${UBOOT_MACHINES}" = "x" ]; then
 		UBOOT_MACHINES=${UBOOT_MACHINE}
 	fi
 
-- 
1.7.3.4




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

* [meta-fsl-ppc][PATCH 2/2] usdpaa: set MACHINE_ARCH specific, same with dependency fmc
  2013-07-02  3:39 [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash b28495
@ 2013-07-02  3:39 ` b28495
  2013-07-02 12:10   ` Otavio Salvador
  2013-07-02 12:11 ` [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash Otavio Salvador
  1 sibling, 1 reply; 5+ messages in thread
From: b28495 @ 2013-07-02  3:39 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
Tested-by: Luo Zhenhua-B19537 <zhenhua.luo@freescale.com>
---
 recipes-tools/usdpaa/usdpaa_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes-tools/usdpaa/usdpaa_git.bb b/recipes-tools/usdpaa/usdpaa_git.bb
index cb7b76b..93cb8ef 100644
--- a/recipes-tools/usdpaa/usdpaa_git.bb
+++ b/recipes-tools/usdpaa/usdpaa_git.bb
@@ -4,6 +4,8 @@ LICENSE = "BSD & GPLv2"
 LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
 PR = "r4"
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 inherit pkgconfig
 
 DEPENDS = "libxml2 libedit ncurses readline flib fmc"
-- 
1.7.3.4




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

* Re: [meta-fsl-ppc][PATCH 2/2] usdpaa: set MACHINE_ARCH specific, same with dependency fmc
  2013-07-02  3:39 ` [meta-fsl-ppc][PATCH 2/2] usdpaa: set MACHINE_ARCH specific, same with dependency fmc b28495
@ 2013-07-02 12:10   ` Otavio Salvador
  2013-07-03  2:14     ` Liu Ting-B28495
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2013-07-02 12:10 UTC (permalink / raw)
  To: Liu Ting-B28495; +Cc: meta-freescale

On Tue, Jul 2, 2013 at 12:39 AM,  <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
> Tested-by: Luo Zhenhua-B19537 <zhenhua.luo@freescale.com>
> ---
>  recipes-tools/usdpaa/usdpaa_git.bb |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/recipes-tools/usdpaa/usdpaa_git.bb b/recipes-tools/usdpaa/usdpaa_git.bb
> index cb7b76b..93cb8ef 100644
> --- a/recipes-tools/usdpaa/usdpaa_git.bb
> +++ b/recipes-tools/usdpaa/usdpaa_git.bb
> @@ -4,6 +4,8 @@ LICENSE = "BSD & GPLv2"
>  LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
>  PR = "r4"
>
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +

Usually PACKAGE_ARCH is the last field being set in the recipe (near
COMPATIBLE_MACHINE when it is the case). I'd move it down.

>  inherit pkgconfig
>
>  DEPENDS = "libxml2 libedit ncurses readline flib fmc"
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash
  2013-07-02  3:39 [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash b28495
  2013-07-02  3:39 ` [meta-fsl-ppc][PATCH 2/2] usdpaa: set MACHINE_ARCH specific, same with dependency fmc b28495
@ 2013-07-02 12:11 ` Otavio Salvador
  1 sibling, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2013-07-02 12:11 UTC (permalink / raw)
  To: Liu Ting-B28495; +Cc: meta-freescale

On Tue, Jul 2, 2013 at 12:39 AM,  <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
> Tested-by: Luo Zhenhua-B19537 <zhenhua.luo@freescale.com>

Great! Less bashism is always good :)

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [meta-fsl-ppc][PATCH 2/2] usdpaa: set MACHINE_ARCH specific, same with dependency fmc
  2013-07-02 12:10   ` Otavio Salvador
@ 2013-07-03  2:14     ` Liu Ting-B28495
  0 siblings, 0 replies; 5+ messages in thread
From: Liu Ting-B28495 @ 2013-07-03  2:14 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

> -----Original Message-----
> From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On
> Behalf Of Otavio Salvador
> Sent: Tuesday, July 02, 2013 8:11 PM
> To: Liu Ting-B28495
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH 2/2] usdpaa: set
> MACHINE_ARCH specific, same with dependency fmc
> 
> On Tue, Jul 2, 2013 at 12:39 AM,  <b28495@freescale.com> wrote:
> > From: Ting Liu <b28495@freescale.com>
> >
> > Signed-off-by: Ting Liu <b28495@freescale.com>
> > Tested-by: Luo Zhenhua-B19537 <zhenhua.luo@freescale.com>
> > ---
> >  recipes-tools/usdpaa/usdpaa_git.bb |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> >
> > diff --git a/recipes-tools/usdpaa/usdpaa_git.bb
> > b/recipes-tools/usdpaa/usdpaa_git.bb
> > index cb7b76b..93cb8ef 100644
> > --- a/recipes-tools/usdpaa/usdpaa_git.bb
> > +++ b/recipes-tools/usdpaa/usdpaa_git.bb
> > @@ -4,6 +4,8 @@ LICENSE = "BSD & GPLv2"
> >  LIC_FILES_CHKSUM =
> "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
> >  PR = "r4"
> >
> > +PACKAGE_ARCH = "${MACHINE_ARCH}"
> > +
> 
> Usually PACKAGE_ARCH is the last field being set in the recipe (near
> COMPATIBLE_MACHINE when it is the case). I'd move it down.

Patch v2 sent out. Thanks for your suggestion.

> 
> >  inherit pkgconfig
> >
> >  DEPENDS = "libxml2 libedit ncurses readline flib fmc"
> > --
> > 1.7.3.4
> >
> >
> > _______________________________________________
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
> 
> 
> 
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750




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

end of thread, other threads:[~2013-07-03  2:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02  3:39 [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash b28495
2013-07-02  3:39 ` [meta-fsl-ppc][PATCH 2/2] usdpaa: set MACHINE_ARCH specific, same with dependency fmc b28495
2013-07-02 12:10   ` Otavio Salvador
2013-07-03  2:14     ` Liu Ting-B28495
2013-07-02 12:11 ` [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash Otavio Salvador

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.