summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-06 01:21:07 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-06 01:21:07 -0500
commitf0a59f6cffc2939ce6fa0ae465ad5f5146bd52ce (patch)
treeb694bd8c3a309d980dca944ed07b8f254c77b616 /scripts
parentb60b198f9f79e0dc8338237db306af7bb760fcc8 (diff)
kbuild: Fix kallsyms build
After reverting my nice but totally broken idea about accelerating the linking steps, make the three-stage .tmp_kallsyms.o generation / addition work again. Yeah, that means that we now link vmlinux three times when CONFIG_KALLSYMS is set, and that's annoying.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkcompile_h10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 57b032952c00..e3247cb98d3b 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -9,7 +9,7 @@ CC=$4
# So "sudo make install" won't change the "compiled by <user>"
# do "compiled by root"
-if [ -r $TARGET -a ! -O ../include/linux/autoconf.h ]; then
+if [ -r $TARGET -a ! -O include/linux/autoconf.h ]; then
echo ' (not modified)'
exit 0
fi
@@ -17,11 +17,11 @@ fi
# Do not expand names
set -f
-if [ -r ../.version ]; then
- VERSION=`cat ../.version`
+if [ -r .version ]; then
+ VERSION=`cat .version`
else
VERSION=0
- echo 0 > ../.version
+ echo 0 > .version
fi
@@ -76,4 +76,4 @@ else
echo ' (updated)'
mv -f .tmpcompile $TARGET
fi
-rm -f .tmpver.1 .tmpver.2
+#rm -f .tmpver.1 .tmpver.2