From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] mk: allow updates to build config on make install Date: Wed, 11 Jun 2014 11:54:29 +0200 Message-ID: <2381814.06mMS9oQGz@xps13> References: <59AF69C657FD0841A61C55336867B5B01AA3475A@IRSMSX103.ger.corp.intel.com> <1402418283-21950-1-git-send-email-thomas.monjalon@6wind.com> <59AF69C657FD0841A61C55336867B5B01AA34876@IRSMSX103.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Richardson, Bruce" Return-path: In-Reply-To: <59AF69C657FD0841A61C55336867B5B01AA34876-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > From: Bruce Richardson > > > > When running "make config", an additional config.orig file is also > > generated, which is intended to hold the original, clean configuration > > from the template. > > When running make install, we first check if there is no existing > > .config file, and run make config if not. If there is a file, we then > > check if it's unmodified, in which case we regenerate a new .config to > > take account of any possible updates to the template. Finally, in the > > case where there is an existing .config file, and it HAS been modified, > > we then do a check to see if the template has had further updates, and > > throw an error if so. If no updates, we continue with the build using > > the existing, user-modified config. > > > > Signed-off-by: Bruce Richardson > > Signed-off-by: Thomas Monjalon > > Tested-by: Bruce Richardson Previous version was acked by Olivier. It is now applied for version 1.7.0. -- Thomas