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 0EAABE0071F for ; Thu, 18 Jul 2013 05:39:27 -0700 (PDT) Received: from buildor.local.eukrea.com (unknown [88.170.243.169]) by smtp3-g21.free.fr (Postfix) with ESMTP id 50AAAA6253; Thu, 18 Jul 2013 14:39:22 +0200 (CEST) From: =?UTF-8?q?Eric=20B=C3=A9nard?= To: meta-freescale@yoctoproject.org Date: Thu, 18 Jul 2013 14:39:22 +0200 Message-Id: <1374151162-23069-1-git-send-email-eric@eukrea.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Subject: [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:39:29 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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énard Cc: Eric Nelson --- 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 = "${WORKDIR}/git" inherit deploy do_mkimage () { + # workaround the case where MACHINE=imx6qsabrelite + if [ ! -d board/boundary/${MACHINE} ]; then + mkdir board/boundary/${MACHINE} + fi uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "boot script" -d board/boundary/${MACHINE}/6x_bootscript.txt \ + -n "boot script" -d board/boundary/nitrogen6x/6x_bootscript.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 } -- 1.7.10.4