mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 20:19:01 +02:00
u-boot-script-boundary: handle the case where MACHINE=imx6sabrelite
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@eukrea.com> Cc: Eric Nelson <eric.nelson@boundarydevices.com>
This commit is contained in:
parent
2f9a59f54b
commit
fd0255b339
|
@ -14,12 +14,16 @@ S = "${WORKDIR}/git"
|
||||||
inherit deploy
|
inherit deploy
|
||||||
|
|
||||||
do_mkimage () {
|
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 \
|
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
|
board/boundary/${MACHINE}/6x_bootscript
|
||||||
|
|
||||||
uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
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
|
board/boundary/${MACHINE}/6x_upgrade
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user