]> git.sur5r.net Git - u-boot/blobdiff - MAKEALL
MAKEALL: display SPL size if present
[u-boot] / MAKEALL
diff --git a/MAKEALL b/MAKEALL
index 0f7b82002cefbd0d2ac4214c024322b79553dc03..c33be1d4b53668cf16a2bada88d3c95c1c9eaec0 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -308,9 +308,6 @@ LIST_SA="$(boards_by_cpu sa1100)"
 LIST_ARM9="$(boards_by_cpu arm920t)    \
        $(boards_by_cpu arm926ejs)      \
        $(boards_by_cpu arm925t)        \
-       omap1610h2              \
-       omap1610inn             \
-       omap730p2               \
 "
 
 #########################################################################
@@ -412,6 +409,11 @@ LIST_mips_el="                     \
        ${LIST_xburst_el}       \
        ${LIST_au1xx0_el}       \
 "
+#########################################################################
+## OpenRISC Systems
+#########################################################################
+
+LIST_openrisc="$(boards_by_arch openrisc)"
 
 #########################################################################
 ## x86 Systems
@@ -509,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