summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-05-20 04:14:59 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-05-20 04:14:59 -0500
commit5674cebafe902478056f313e83e0f2dc80050fd0 (patch)
tree73880fc708a4dbfcd4da6d26de28c1d67453393c /scripts
parentbd2b0c85edfa015fdb4990ad07ad10e94ea885a4 (diff)
kbuild: Standardize building of init/*
There's no good reason to build the objects in init/ explicitly from the top-level Makefile. Instead, handle init/ like every other subdir, which also provides the automatic checks for a changed command line etc.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mkcompile_h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 4c4afc19eb9a..05f9ecb2f3ae 100644
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -5,11 +5,11 @@ CC=$4
# Generate a temporary compile.h
-( echo /\* This file is auto generated, version `cat .version` \*/
+( echo /\* This file is auto generated, version `cat ../.version` \*/
echo \#define UTS_MACHINE \"$ARCH\"
- echo -n \#define UTS_VERSION \"\#`cat .version`
+ echo -n \#define UTS_VERSION \"\#`cat ../.version`
if [ -n "$SMP" ] ; then echo -n " SMP"; fi
echo ' '`date`'"'