commit 9197fed4c0e5a47f62dfcccf8834a6db4dc09260
parent 460c82ed77d8444732f772d6d98e157e768fa74f
Author: parazyd <parazyd@dyne.org>
Date: Fri, 27 Oct 2017 19:59:01 +0200
boards/sunxi: try bailing out if a u-boot compilation fails
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/boards/sunxi.sh b/boards/sunxi.sh
@@ -76,7 +76,10 @@ postbuild() {
make \
$MAKEOPTS \
ARCH=arm \
- CROSS_COMPILE=$compiler || zerr
+ CROSS_COMPILE=$compiler || {
+ zerr
+ return 1
+ }
mv -v u-boot-sunxi-with-spl.bin $R/dist/u-boot/${board}.bin
done