diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-07-28 23:39:23 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-07-28 23:39:23 -0500 |
| commit | 62df53d4bf5e925f64b4815bc534fcabb572070c (patch) | |
| tree | 8b54963d1e5c05754e93e56a2e99e93ece625aa4 /scripts | |
| parent | 46979afd7f43d0ef8d03c09023fb6ebf5196fc90 (diff) | |
| parent | b9a898b8495fb303054b56d74cd4e1d056a6e8e8 (diff) | |
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-fix
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mkcompile_h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h index 6313db961724..57b032952c00 100755 --- a/scripts/mkcompile_h +++ b/scripts/mkcompile_h @@ -3,6 +3,20 @@ ARCH=$2 SMP=$3 CC=$4 +# If compile.h exists already and we don't own autoconf.h +# (i.e. we're not the same user who did make *config), don't +# modify compile.h +# 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 + echo ' (not modified)' + exit 0 +fi + +# Do not expand names +set -f + if [ -r ../.version ]; then VERSION=`cat ../.version` else |
