[U-Boot] [PATCH] MAKEALL: display SPL size if present

Scott Wood scottwood at freescale.com
Fri Jan 6 00:16:10 CET 2012


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 at freescale.com>
---
 MAKEALL |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index f735af6..395e982 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -508,6 +508,11 @@ build_target() {
 
 	${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \
 				| tee -a ${LOG_DIR}/$target.MAKELOG
+
+	if [ -e ${BUILD_DIR}/spl/u-boot-spl ]; then
+		${CROSS_COMPILE}size ${BUILD_DIR}/spl/u-boot-spl \
+					| tee -a ${LOG_DIR}/$target.MAKELOG
+	fi
 }
 build_targets() {
 	for t in "$@" ; do
-- 
1.7.7.rc3.4.g8d714



More information about the U-Boot mailing list