From: Scott Wood Date: Mon, 20 Feb 2012 12:56:25 +0000 (+0000) Subject: MAKEALL: display SPL size if present X-Git-Tag: v2012.04-rc1~17^2^2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0c185696061afacfe78fc1bc405a0f6ed1f3f7a6;p=u-boot MAKEALL: display SPL size if present This makes it easier to detect changes in the SPL portion, as can currently be done for the main U-Boot image. Signed-off-by: Scott Wood Acked-by: Tom Rini --- diff --git a/MAKEALL b/MAKEALL index 0f2b4a1b94..c33be1d4b5 100755 --- a/MAKEALL +++ b/MAKEALL @@ -511,8 +511,12 @@ build_target() { TOTAL_CNT=$((TOTAL_CNT + 1)) - ${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \ - | tee -a ${LOG_DIR}/$target.MAKELOG + OBJS=${BUILD_DIR}/u-boot + if [ -e ${BUILD_DIR}/spl/u-boot-spl ]; then + OBJS="${OBJS} ${BUILD_DIR}/spl/u-boot-spl" + fi + + ${CROSS_COMPILE}size ${OBJS} | tee -a ${LOG_DIR}/$target.MAKELOG } build_targets() { for t in "$@" ; do