[meta-freescale] [meta-fsl-arm-extra][PATCH] u-boot-script-boundary: handle the case where MACHINE=imx6sabrelite
Eric Bénard
eric at eukrea.com
Thu Jul 18 05:39:22 PDT 2013
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 <eric at eukrea.com>
Cc: Eric Nelson <eric.nelson at boundarydevices.com>
---
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
More information about the meta-freescale
mailing list