summaryrefslogtreecommitdiffstats
path: root/MAKEALL
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-03-11 18:47:33 -0500
committerTom Rini <trini@konsulko.com>2015-03-15 14:31:06 -0400
commite71796a70a6c03829e7a666efb4e9770da875af6 (patch)
tree402ac6ed36f69acf94536e988085e4c47ede4b2c /MAKEALL
parent3bde6888c0d74d716af7381c2ad9faee77aaec8f (diff)
downloadblackbird-obmc-uboot-e71796a70a6c03829e7a666efb4e9770da875af6.tar.gz
blackbird-obmc-uboot-e71796a70a6c03829e7a666efb4e9770da875af6.zip
MAKEALL: Don't try to print size when ./u-boot is deleted
In the case of BUILD_NBUILDS > 1, MAKEALL would try to print the size immediately after the u-boot binary is deleted by the call to: make -s clean Move the size print to before the clean Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'MAKEALL')
-rwxr-xr-xMAKEALL14
1 files changed, 7 insertions, 7 deletions
diff --git a/MAKEALL b/MAKEALL
index c5f665f4d1..5483b389c9 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -655,6 +655,13 @@ build_target() {
RC=1
fi
+ OBJS=${output_dir}/u-boot
+ if [ -e ${output_dir}/spl/u-boot-spl ]; then
+ OBJS="${OBJS} ${output_dir}/spl/u-boot-spl"
+ fi
+
+ ${CROSS_COMPILE}size ${OBJS} | tee -a ${LOG_DIR}/$target.MAKELOG
+
if [ $BUILD_MANY == 1 ] ; then
trap - TERM
@@ -679,13 +686,6 @@ build_target() {
fi
fi
- OBJS=${output_dir}/u-boot
- if [ -e ${output_dir}/spl/u-boot-spl ]; then
- OBJS="${OBJS} ${output_dir}/spl/u-boot-spl"
- fi
-
- ${CROSS_COMPILE}size ${OBJS} | tee -a ${LOG_DIR}/$target.MAKELOG
-
[ -e "${LOG_DIR}/${target}.ERR" ] && cat "${LOG_DIR}/${target}.ERR"
touch "${donep}${build_idx}"
OpenPOWER on IntegriCloud