board/freescale/common/imx/imx8-bootloader-prepare.sh: enable error checking
Run script with 'errexit' bash option to detect any errors from
subcommands.
It will fix situation where 'ddr_fw.bin' was missing but successfull
build created broken boot image. Post image script report this by:
cat: /home/user/buildroot/output/images/ddr_fw.bin: No such file or directory
and build finish with success.
Signed-off-by: Wojciech Nizinski <wojciech.nizinski@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4a1bcbe17e
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7045d2905e
commit
99f6397a80
@ -73,4 +73,5 @@ main ()
|
||||
exit $?
|
||||
}
|
||||
|
||||
set -e
|
||||
main $@
|
||||
|
Loading…
Reference in New Issue
Block a user