X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=MAKEALL;h=a6e378f89cf589a20b7909b5ec80610fd43c37a0;hb=d04e30b839f3a60b72fda7021eaf2f94b185d756;hp=c5f665f4d1cf1f8b3baa96f8e13e131fe2003443;hpb=768f6096f9c389b5ed36bee2957bee16b085fc4a;p=oweals%2Fu-boot.git diff --git a/MAKEALL b/MAKEALL index c5f665f4d1..a6e378f89c 100755 --- a/MAKEALL +++ b/MAKEALL @@ -551,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() { @@ -655,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 @@ -679,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}"