summaryrefslogtreecommitdiff
path: root/scripts/mkcompile_h
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-09-18 23:40:08 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-09-18 23:40:08 -0500
commit8ba7e12b1b02e339e8ad1641876ff8f1e268cfdc (patch)
tree6297c7dbaff5ef452854d800cce462c42e21104f /scripts/mkcompile_h
parenta2cc1711d80dafcb0f84d32d64a1cd50768de42f (diff)
kbuild: Fix build number generation
For some inexplicable reason, I broke the dependency on a new build number some time ago - it worked fine before, and now it does again. (Whenever vmlinux is relinked, the build number is incremented, and now it ends in the version string again, as it should) Noted by Anton Blanchard.
Diffstat (limited to 'scripts/mkcompile_h')
-rwxr-xr-xscripts/mkcompile_h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 685de94c4111..57b032952c00 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -67,8 +67,8 @@ UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\}\).*/\1/"
# first line.
if [ -r $TARGET ] && \
- grep -v 'auto generated\|UTS_VERSION\|LINUX_COMPILE_TIME' $TARGET > .tmpver.1 && \
- grep -v 'auto generated\|UTS_VERSION\|LINUX_COMPILE_TIME' .tmpcompile > .tmpver.2 && \
+ grep -v 'UTS_VERSION\|LINUX_COMPILE_TIME' $TARGET > .tmpver.1 && \
+ grep -v 'UTS_VERSION\|LINUX_COMPILE_TIME' .tmpcompile > .tmpver.2 && \
cmp -s .tmpver.1 .tmpver.2; then
echo ' (unchanged)'
rm -f .tmpcompile