]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - MAKEALL
fdt_support: add missing #ifdef after merge
[karo-tx-uboot.git] / MAKEALL
diff --git a/MAKEALL b/MAKEALL
index 7c16319b80bd139ad7cb82dd08f9d15283794260..a6e378f89cf589a20b7909b5ec80610fd43c37a0 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -291,12 +291,6 @@ LIST_8xx="$(targets_by_cpu mpc8xx)"
 
 LIST_4xx="$(targets_by_cpu ppc4xx)"
 
-#########################################################################
-## MPC824x Systems
-#########################################################################
-
-LIST_824x="$(targets_by_cpu mpc824x)"
-
 #########################################################################
 ## MPC8260 Systems (includes 8250, 8255 etc.)
 #########################################################################
@@ -321,12 +315,6 @@ LIST_85xx="$(targets_by_cpu mpc85xx)"
 
 LIST_86xx="$(targets_by_cpu mpc86xx)"
 
-#########################################################################
-## 74xx/7xx Systems
-#########################################################################
-
-LIST_74xx_7xx="$(targets_by_cpu 74xx_7xx)"
-
 #########################################################################
 ## PowerPC groups
 #########################################################################
@@ -348,7 +336,6 @@ LIST_powerpc="              \
        ${LIST_85xx}    \
        ${LIST_86xx}    \
        ${LIST_4xx}     \
-       ${LIST_74xx_7xx}\
 "
 
 # Alias "ppc" -> "powerpc" to not break compatibility with older scripts
@@ -564,13 +551,7 @@ get_target_maintainers() {
 get_target_arch() {
        local target=$1
 
-       # Automatic mode
-       local line=`awk '\$7 == "'"$target"'" { print \$0 }' boards.cfg`
-
-       if [ -z "${line}" ] ; then echo "" ; return ; fi
-
-       set ${line}
-       echo "$2"
+       awk '$7 == "'$target'" { print $2 }' boards.cfg
 }
 
 list_target() {
@@ -668,6 +649,13 @@ build_target() {
                RC=1
        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
                trap - TERM
 
@@ -692,13 +680,6 @@ build_target() {
                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"
 
        touch "${donep}${build_idx}"