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>
This commit is contained in:
parent
3bde6888c0
commit
e71796a70a
14
MAKEALL
14
MAKEALL
|
|
@ -655,6 +655,13 @@ build_target() {
|
||||||
RC=1
|
RC=1
|
||||||
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
|
||||||
|
|
||||||
if [ $BUILD_MANY == 1 ] ; then
|
if [ $BUILD_MANY == 1 ] ; then
|
||||||
trap - TERM
|
trap - TERM
|
||||||
|
|
||||||
|
|
@ -679,13 +686,6 @@ build_target() {
|
||||||
fi
|
fi
|
||||||
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"
|
[ -e "${LOG_DIR}/${target}.ERR" ] && cat "${LOG_DIR}/${target}.ERR"
|
||||||
|
|
||||||
touch "${donep}${build_idx}"
|
touch "${donep}${build_idx}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue