[dpdk-dev] [PATCH v4] mk: allow updates to build config on make install

Richardson, Bruce bruce.richardson at intel.com
Tue Jun 10 20:43:44 CEST 2014



> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Tuesday, June 10, 2014 9:38 AM
> To: dev at dpdk.org
> Cc: Richardson, Bruce
> Subject: [PATCH v4] mk: allow updates to build config on make install
> 
> From: Bruce Richardson <bruce.richardson at intel.com>
> 
> 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 <bruce.richardson at intel.com>
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Tested-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list