]> 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 5483b389c96544582b4684974277774e8faef3f4..a6e378f89cf589a20b7909b5ec80610fd43c37a0 100755 (executable)
--- 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() {