From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 04E3FB0A7 for ; Tue, 10 Jun 2014 20:43:52 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 10 Jun 2014 11:44:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,1010,1392192000"; d="scan'208";a="545849326" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 10 Jun 2014 11:43:46 -0700 Received: from irsmsx152.ger.corp.intel.com (163.33.192.66) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 10 Jun 2014 19:43:45 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.58]) by IRSMSX152.ger.corp.intel.com ([169.254.6.197]) with mapi id 14.03.0123.003; Tue, 10 Jun 2014 19:43:45 +0100 From: "Richardson, Bruce" To: Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [PATCH v4] mk: allow updates to build config on make install Thread-Index: AQHPhMpoc9/04ymR1Uii7d271JZ7KptqrfCw Date: Tue, 10 Jun 2014 18:43:44 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B01AA34876@IRSMSX103.ger.corp.intel.com> References: <59AF69C657FD0841A61C55336867B5B01AA3475A@IRSMSX103.ger.corp.intel.com> <1402418283-21950-1-git-send-email-thomas.monjalon@6wind.com> In-Reply-To: <1402418283-21950-1-git-send-email-thomas.monjalon@6wind.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4] mk: allow updates to build config on make install X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 18:43:54 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Tuesday, June 10, 2014 9:38 AM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH v4] mk: allow updates to build config on make install >=20 > From: Bruce Richardson >=20 > 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. >=20 > Signed-off-by: Bruce Richardson > Signed-off-by: Thomas Monjalon Tested-by: Bruce Richardson