tboards/sunxi: try bailing out if a u-boot compilation fails - arm-sdk - os build toolkit for various embedded devices HTML git clone https://git.parazyd.org/arm-sdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 9197fed4c0e5a47f62dfcccf8834a6db4dc09260 DIR parent 460c82ed77d8444732f772d6d98e157e768fa74f HTML 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: M boards/sunxi.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/boards/sunxi.sh b/boards/sunxi.sh t@@ -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