[PATCH 2/4] utsrelease.h: Make it clear where files are generated

From: Nicholas Mc Guire
Date: Tue Oct 27 2015 - 11:52:32 EST


Add a comment string in include/utsrelease.h that it was generated by the
top level Makefile.

Signed-off-by: Nicholas Mc Guire <hofrat@xxxxxxxxx>
---
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 8823501..e433a01 100644
--- a/Makefile
+++ b/Makefile
@@ -1017,7 +1017,8 @@ define filechk_utsrelease.h
echo '"$(KERNELRELEASE)" exceeds $(uts_len) characters' >&2; \
exit 1; \
fi; \
- (echo \#define UTS_RELEASE \"$(KERNELRELEASE)\";)
+ (echo '/* Generated by top level Makefile */'; \
+ echo \#define UTS_RELEASE \"$(KERNELRELEASE)\";)
endef

define filechk_version.h
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/