]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - MAKEALL
gpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h
[karo-tx-uboot.git] / MAKEALL
diff --git a/MAKEALL b/MAKEALL
index ed85b7c07514f3bc31bf917253abce9707285f49..c5f665f4d1cf1f8b3baa96f8e13e131fe2003443 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -171,6 +171,11 @@ GNU_MAKE=$(scripts/show-gnu-make) || {
 # echo "Remaining arguments:"
 # for arg do echo '--> '"\`$arg'" ; done
 
+tools/genboardscfg.py || {
+       echo "Failed to generate boards.cfg" >&2
+       exit 1
+}
+
 FILTER="\$1 !~ /^#/"
 [ "$opt_a" ] && FILTER="${FILTER} && $opt_a"
 [ "$opt_c" ] && FILTER="${FILTER} && $opt_c"
@@ -286,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.)
 #########################################################################
@@ -316,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
 #########################################################################
@@ -343,7 +336,6 @@ LIST_powerpc="              \
        ${LIST_85xx}    \
        ${LIST_86xx}    \
        ${LIST_4xx}     \
-       ${LIST_74xx_7xx}\
 "
 
 # Alias "ppc" -> "powerpc" to not break compatibility with older scripts
@@ -512,9 +504,9 @@ get_target_location() {
 
        set ${line}
 
-       CONFIG_NAME="${7%_config}"
+       CONFIG_NAME="${7%_defconfig}"
 
-       [ "${BOARD_NAME}" ] || BOARD_NAME="${7%_config}"
+       [ "${BOARD_NAME}" ] || BOARD_NAME="${7%_defconfig}"
 
        if [ $# -gt 5 ]; then
                if [ "$6" = "-" ] ; then
@@ -650,8 +642,10 @@ build_target() {
                MAKE="${MAKE} O=${output_dir}"
        fi
 
-       ${MAKE} distclean >/dev/null
-       ${MAKE} -s ${target}_config
+       ${MAKE} mrproper >/dev/null
+
+       echo "Building ${target} board..."
+       ${MAKE} -s ${target}_defconfig >/dev/null
 
        ${MAKE} ${JOBS} ${CHECK} all \
                >${LOG_DIR}/$target.MAKELOG 2> ${LOG_DIR}/$target.ERR