diff options
author | Scott Wood <scottwood@freescale.com> | 2012-02-20 12:56:25 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-03-26 13:42:07 +0200 |
commit | 0c185696061afacfe78fc1bc405a0f6ed1f3f7a6 (patch) | |
tree | b73844655b2e613985abae6a729e03f66060e2a0 | |
parent | d721a3a7714147a54f400f9daeeac059e579a4a4 (diff) | |
download | u-boot-imx-0c185696061afacfe78fc1bc405a0f6ed1f3f7a6.zip u-boot-imx-0c185696061afacfe78fc1bc405a0f6ed1f3f7a6.tar.gz u-boot-imx-0c185696061afacfe78fc1bc405a0f6ed1f3f7a6.tar.bz2 |
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 <scottwood@freescale.com>
Acked-by: Tom Rini <trini@ti.com>
-rwxr-xr-x | MAKEALL | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |