summaryrefslogtreecommitdiff
path: root/MAKEALL
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 04:49:37 +0000
committerWolfgang Denk <wd@denx.de>2012-05-22 10:18:17 +0200
commitb594bd6ab33ffa2c976edf9bb4ed4a43db3b9405 (patch)
treedf5aee5c2c9e7b124622a14fa9bd1a23af2f4f4f /MAKEALL
parent10d4e0f9fe6cea504fab7ad4e4a958b565cf43af (diff)
downloadu-boot-imx-b594bd6ab33ffa2c976edf9bb4ed4a43db3b9405.zip
u-boot-imx-b594bd6ab33ffa2c976edf9bb4ed4a43db3b9405.tar.gz
u-boot-imx-b594bd6ab33ffa2c976edf9bb4ed4a43db3b9405.tar.bz2
MAKEALL: Fix error reporting for BUILD_NBUILDS==1
This was broken by f588bb034d5d3a0417f45965f1aba4d4cf8a2893 Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'MAKEALL')
-rwxr-xr-xMAKEALL8
1 files changed, 5 insertions, 3 deletions
diff --git a/MAKEALL b/MAKEALL
index 05e2d90..b7fcae4 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -709,7 +709,11 @@ build_targets() {
: $((CURRENT_CNT += 1))
rm -f "${donep}${TOTAL_CNT}"
rm -f "${skipp}${TOTAL_CNT}"
- build_target ${t} ${TOTAL_CNT} &
+ if [ $BUILD_MANY == 1 ] ; then
+ build_target ${t} ${TOTAL_CNT} &
+ else
+ build_target ${t} ${TOTAL_CNT}
+ fi
fi
# We maintain a running count of all the builds we have done.
@@ -745,8 +749,6 @@ print_stats() {
if [ $BUILD_MANY == 1 ] && [ -e "${OUTPUT_PREFIX}/ERR" ] ; then
ERR_LIST=$(ls ${OUTPUT_PREFIX}/ERR/)
ERR_CNT=`ls -1 ${OUTPUT_PREFIX}/ERR/ | wc | awk '{print $1}'`
- else
- ERR_CNT=0
fi
echo ""