X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=MAKEALL;h=f9caabd8ffd35f43809aff18ec3ce9458c94dd00;hb=386118a896554b13f14ad0f82356276988f7de82;hp=07d24146f2c3c265182b492e56fa44ea0cf4da97;hpb=62506ae1401c69f208b6aed1111ac57d820c06a0;p=u-boot diff --git a/MAKEALL b/MAKEALL index 07d24146f2..f9caabd8ff 100755 --- 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 @@ -579,6 +580,8 @@ LIST_ARM9=" \ davinci_sffsdr \ davinci_sonata \ davinci_dm355evm \ + davinci_dm355leopard \ + davinci_dm6467evm \ " ######################################################################### @@ -615,8 +618,10 @@ LIST_ARM_CORTEX_A8=" \ omap3_overo \ omap3_evm \ omap3_pandora \ + omap3_sdp3430 \ omap3_zoom1 \ omap3_zoom2 \ + smdkc100 \ " ######################################################################### @@ -932,6 +937,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" @@ -955,6 +966,8 @@ print_stats() { echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )" fi echo "----------------------------------------------------------" + + exit $RC } #-----------------------------------------------------------------------