build system: make gen_build_files.sh messages more inline with the rest

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-05-27 02:33:31 +02:00
parent a3581409c2
commit 76c936f522

View File

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