浏览代码

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>
Wojciech Nizinski 1 年之前
父节点
当前提交
4a1bcbe17e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      board/freescale/common/imx/imx8-bootloader-prepare.sh

+ 1 - 0
board/freescale/common/imx/imx8-bootloader-prepare.sh

@@ -73,4 +73,5 @@ main ()
 	exit $?
 }
 
+set -e
 main $@