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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux