diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-02-15 22:32:35 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-02-15 22:32:35 -0500 |
commit | 67add772f442fd05ca8f97dc7149f10a6846ba88 (patch) | |
tree | bd96ad495c56b86710c7aaabe473a3fbc44da8ed | |
parent | fa6f2462ec91a70974df0221a6f005de547ef73e (diff) |
build: Add automatically generated warning to generated header files
The header files tc_version.h and ks_version.h are created by the build
process. Add a comment warning that changes to these files will not
be sustained.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -226,7 +226,8 @@ $(PLUGINS): %.so: %.o | |||
226 | $(Q)$(do_plugin_build) | 226 | $(Q)$(do_plugin_build) |
227 | 227 | ||
228 | define make_version.h | 228 | define make_version.h |
229 | (echo \#define VERSION_CODE $(shell \ | 229 | (echo '/* This file is automatically generated. Do not modify. */'; \ |
230 | echo \#define VERSION_CODE $(shell \ | ||
230 | expr $(VERSION) \* 256 + $(PATCHLEVEL)); \ | 231 | expr $(VERSION) \* 256 + $(PATCHLEVEL)); \ |
231 | echo '#define EXTRAVERSION ' $(EXTRAVERSION); \ | 232 | echo '#define EXTRAVERSION ' $(EXTRAVERSION); \ |
232 | echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL)$(EXTRAVERSION)'"'; \ | 233 | echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL)$(EXTRAVERSION)'"'; \ |