mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
MAKEALL: Fix error reporting for BUILD_NBUILDS==1
This was broken by f588bb034d
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
10d4e0f9fe
commit
b594bd6ab3
1 changed files with 5 additions and 3 deletions
8
MAKEALL
8
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 ""
|
||||
|
|
Loading…
Reference in a new issue