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 <[email protected]> Cc: Eric Nelson <[email protected]> --- 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 _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
