Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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"
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"