]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - mkconfig
kbuild: use scripts/Makefile.clean
[karo-tx-uboot.git] / mkconfig
index b96c81fbc2b50336e279cd3d78495badaf1fb9de..5f516f214a3995633a93c4e95a26feb12b8de546 100755 (executable)
--- a/mkconfig
+++ b/mkconfig
@@ -23,7 +23,7 @@ options=""
 
 if [ \( $# -eq 2 \) -a \( "$1" = "-A" \) ] ; then
        # Automatic mode
-       line=`awk '($0 !~ /^#/ && $7 ~ /^'"$2"'$/) { print $1, $2, $3, $4, $5, $6, $7, $8 }' boards.cfg`
+       line=`awk '($0 !~ /^#/ && $7 ~ /^'"$2"'$/) { print $1, $2, $3, $4, $5, $6, $7, $8 }' $srctree/boards.cfg`
        if [ -z "$line" ] ; then
                echo "make: *** No rule to make target \`$2_config'.  Stop." >&2
                exit 1