]> git.sur5r.net Git - u-boot/blobdiff - MAKEALL
OMAP3 Add usb device support
[u-boot] / MAKEALL
diff --git a/MAKEALL b/MAKEALL
index 5a0542234943a0ba8215f3e9a04c9aa060a54d17..ab1bb6fdf26158acb0bc1c9eefb0adadf28d6f14 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Print statistics when we exit
 trap exit 1 2 3 15
@@ -39,6 +39,7 @@ LIST=""
 ERR_CNT=0
 ERR_LIST=""
 TOTAL_CNT=0
+RC=0
 
 #########################################################################
 ## MPC5xx Systems
@@ -539,6 +540,7 @@ LIST_ARM7="         \
 #########################################################################
 
 LIST_ARM9="                    \
+       a320evb                 \
        ap920t                  \
        ap922_XA10              \
        ap926ejs                \
@@ -549,6 +551,7 @@ LIST_ARM9="                 \
        cp926ejs                \
        cp946es                 \
        cp966                   \
+       da830evm                \
        imx27lite               \
        lpd7a400                \
        mv88f6281gtw_ge         \
@@ -937,6 +940,12 @@ build_target() {
 
        ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \
                                | tee ${LOG_DIR}/$target.ERR
+
+       # Check for 'make' errors
+       if [ ${PIPESTATUS[0]} -ne 0 ] ; then
+               RC=1
+       fi
+
        if [ -s ${LOG_DIR}/$target.ERR ] ; then
                ERR_CNT=$((ERR_CNT + 1))
                ERR_LIST="${ERR_LIST} $target"
@@ -960,6 +969,8 @@ print_stats() {
                echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )"
        fi
        echo "----------------------------------------------------------"
+
+       exit $RC
 }
 
 #-----------------------------------------------------------------------