X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=MAKEALL;h=5483b389c96544582b4684974277774e8faef3f4;hb=a509161a21ef7584d614dc1530a2756dcfb217e0;hp=392ea8d2aeeb31ed5b46c2e3f7683aa501cdfbf0;hpb=7bee1c91a94db19bd26f92cc67be35d3592c6429;p=u-boot diff --git a/MAKEALL b/MAKEALL index 392ea8d2ae..5483b389c9 100755 --- a/MAKEALL +++ b/MAKEALL @@ -171,13 +171,10 @@ GNU_MAKE=$(scripts/show-gnu-make) || { # echo "Remaining arguments:" # for arg do echo '--> '"\`$arg'" ; done -if [ ! -r boards.cfg ]; then - echo "Could not find boards.cfg" - tools/genboardscfg.py || { - echo "Failed to generate boards.cfg" >&2 - exit 1 - } -fi +tools/genboardscfg.py || { + echo "Failed to generate boards.cfg" >&2 + exit 1 +} FILTER="\$1 !~ /^#/" [ "$opt_a" ] && FILTER="${FILTER} && $opt_a" @@ -294,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.) ######################################################################### @@ -324,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 ######################################################################### @@ -351,7 +336,6 @@ LIST_powerpc=" \ ${LIST_85xx} \ ${LIST_86xx} \ ${LIST_4xx} \ - ${LIST_74xx_7xx}\ " # Alias "ppc" -> "powerpc" to not break compatibility with older scripts @@ -671,6 +655,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 @@ -695,13 +686,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}"