Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1256872
| From | Nicholas Mc Guire <hofrat@osadl.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/4] version.h: Make it clear where the files was generated |
| Date | 2015-10-27 17:00 +0100 |
| Message-ID | <qoePg-70a-5@gated-at.bofh.it> (permalink) |
| References | <qoePg-70a-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add a comment string in include/generated/uapi/linux/version.h that it was generated by the top level Makefile Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> --- This is no actual code change - compile-testing should thus do Compile tested with x86_64_defconfig Patch is against 4.3-rc6 (localversion-next is -next-20151022) Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1fdd906..8823501 100644 --- a/Makefile +++ b/Makefile @@ -1021,7 +1021,8 @@ define filechk_utsrelease.h endef define filechk_version.h - (echo \#define LINUX_VERSION_CODE $(shell \ + (echo '/* Generated by top level Makefile */'; \ + echo \#define LINUX_VERSION_CODE $(shell \ expr $(VERSION) \* 65536 + 0$(PATCHLEVEL) \* 256 + 0$(SUBLEVEL)); \ echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) endef -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 1/4] version.h: Make it clear where the files was generated Nicholas Mc Guire <hofrat@osadl.org> - 2015-10-27 17:00 +0100
csiph-web