Return-Path: Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B314BE0071F for ; Thu, 18 Jul 2013 05:58:43 -0700 (PDT) Received: from e6520eb (unknown [88.170.243.169]) (Authenticated sender: eukrea) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 56198A62B6; Thu, 18 Jul 2013 14:58:37 +0200 (CEST) Date: Thu, 18 Jul 2013 14:58:36 +0200 From: Eric =?UTF-8?B?QsOpbmFyZA==?= To: Otavio Salvador Message-ID: <20130718145836.679dc965@e6520eb> In-Reply-To: References: <1374151162-23069-1-git-send-email-eric@eukrea.com> Organization: =?UTF-8?B?RXVrcsOpYQ==?= Electromatique X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: handle the case where MACHINE=imx6sabrelite X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 12:58:46 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Thu, 18 Jul 2013 09:57:22 -0300, Otavio Salvador a =C3=A9crit : > On Thu, Jul 18, 2013 at 9:39 AM, Eric B=C3=A9nard wrote: > > else the build fails with : > > uboot-mkimage: Can't open board/boundary/imx6qsabrelite/6x_bootscript: = No such file or directory > > > > Signed-off-by: Eric B=C3=A9nard > > Cc: Eric Nelson >=20 > Good catch! >=20 > > --- > > recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 8 ++++++-- > > 1 file changed, 6 insertions(+), 2 deletions(-) > > > > diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb b/recipes= -bsp/u-boot/u-boot-script-boundary_git.bb > > index 4d5e7db..2088a4f 100644 > > --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb > > +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb > > @@ -14,12 +14,16 @@ S =3D "${WORKDIR}/git" > > inherit deploy > > > > do_mkimage () { > > + # workaround the case where MACHINE=3Dimx6qsabrelite > > + if [ ! -d board/boundary/${MACHINE} ]; then > > + mkdir board/boundary/${MACHINE} > > + fi >=20 > I just didn't understand why you create this directory as below you > use nitrogen one? >=20 because I use the nitrogen one for the .txt but the ${MACHINE}=C2=A0one for the results in order not to make many changes to the .bb as I assume imx6sabrelite is due to disapear in a short future. > > uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ > > - -n "boot script" -d board/boundary/${MACHINE}/6x_bo= otscript.txt \ > > + -n "boot script" -d board/boundary/nitrogen6x/6x_bo= otscript.txt \ > > board/boundary/${MACHINE}/6x_bootscript > > > > uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ > > - -n "upgrade script" -d board/boundary/${MACHINE}/6x= _upgrade.txt \ > > + -n "upgrade script" -d board/boundary/nitrogen6x/6x= _upgrade.txt \ > > board/boundary/${MACHINE}/6x_upgrade > > } >=20 > Seem fine. >=20 > -- > 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