From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964992AbbJ0PwZ (ORCPT ); Tue, 27 Oct 2015 11:52:25 -0400 Received: from www.osadl.org ([62.245.132.105]:53389 "EHLO www.osadl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964888AbbJ0PwW (ORCPT ); Tue, 27 Oct 2015 11:52:22 -0400 X-Greylist: delayed 764 seconds by postgrey-1.27 at vger.kernel.org; Tue, 27 Oct 2015 11:52:18 EDT From: Nicholas Mc Guire To: Michal Marek Cc: "Yann E. MORIN" , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nicholas Mc Guire Subject: [PATCH 1/4] version.h: Make it clear where the files was generated Date: Tue, 27 Oct 2015 16:30:39 +0100 Message-Id: <1445959842-1960-2-git-send-email-hofrat@osadl.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1445959842-1960-1-git-send-email-hofrat@osadl.org> References: <1445959842-1960-1-git-send-email-hofrat@osadl.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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