build system: make gen_build_files.sh messages more inline with the rest
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 May 2010 00:33:31 +0000 (02:33 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 May 2010 00:33:31 +0000 (02:33 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/gen_build_files.sh

index d2db907f3541ad29355daecae840368bd08e1c76..b3aa132a3602fd982676d928777cca96b6c82fd5 100755 (executable)
@@ -8,10 +8,11 @@ cd -- "$2" || { echo "Syntax: $0 SRCTREE OBJTREE"; exit 1; }
 srctree="$1"
 
 find -type d | while read -r d; do
+       d="${d#./}"
        src="$srctree/$d/Kbuild.src"
        dst="$d/Kbuild"
        if test -f "$src"; then
-               echo "  CHK     $dst"
+               #echo "  CHK     $dst"
 
                s=`sed -n 's@^//kbuild:@@p' -- "$srctree/$d"/*.c`
                echo "# DO NOT EDIT. This file is generated from Kbuild.src" >"$dst.$$.tmp"
@@ -36,7 +37,7 @@ find -type d | while read -r d; do
        src="$srctree/$d/Config.src"
        dst="$d/Config.in"
        if test -f "$src"; then
-               echo "  CHK     $dst"
+               #echo "  CHK     $dst"
 
                s=`sed -n 's@^//config:@@p' -- "$srctree/$d"/*.c`
                echo "# DO NOT EDIT. This file is generated from Config.src" >"$dst.$$.tmp"