From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755640AbbDKTyR (ORCPT ); Sat, 11 Apr 2015 15:54:17 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53894 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755299AbbDKTyN (ORCPT ); Sat, 11 Apr 2015 15:54:13 -0400 Message-ID: <55297BE2.60401@suse.cz> Date: Sat, 11 Apr 2015 21:54:10 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Nicholas Mc Guire , Jonathan Corbet CC: Nicholas Mc Guire , linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kbuild: add documentation of KBUILD_BUILD_VERSION References: <1428216268-3545-1-git-send-email-hofrat@osadl.org> <20150411151523.1756ec20@lwn.net> <20150411132023.GA22172@opentech.at> In-Reply-To: <20150411132023.GA22172@opentech.at> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dne 11.4.2015 v 15:20 Nicholas Mc Guire napsal(a): > On Sat, 11 Apr 2015, Jonathan Corbet wrote: > >> On Sun, 5 Apr 2015 08:44:28 +0200 >> Nicholas Mc Guire wrote: >> >>> KBUILD_BUILD_VERSION is currently not documented but it is >>> needed when rebuilding a kernel that should result in the identical >>> binary. This is a brief documentation of KBUILD_BUILD_VERSION. >> >> Can we add something like the above to the document itself so that >> readers have an idea of why they might want to tweak this? >> >> Either way, I can take it in the docs tree if that's best..Michal? >> > I thought of that but it would be inconsistent as all other descriptions > here are only the function not the use. Most of the entries in this file predate efforts at deterministic builds, so I'd prefer usefulness over consistency here :-). > I did not find a file where > the problem of identical rebuild would really fit. ... unless, of course, you want to start a new file covering this topic. Because it's not just the few override variables, but also some options have to be turned off (I remember CONFIG_GCOV_KERNEL) and the paths must be the same, or relative paths must be used. Michal