From f0a59f6cffc2939ce6fa0ae465ad5f5146bd52ce Mon Sep 17 00:00:00 2001 From: Kai Germaschewski Date: Sun, 6 Oct 2002 01:21:07 -0500 Subject: 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. --- scripts/mkcompile_h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') 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 " # 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 -- cgit v1.2.3