From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 386696895 for ; Wed, 14 May 2014 12:22:38 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 14 May 2014 03:22:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,1051,1389772800"; d="scan'208";a="531693327" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 14 May 2014 03:22:43 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s4EAMhN7027707; Wed, 14 May 2014 11:22:43 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s4EAMhvr027460; Wed, 14 May 2014 11:22:43 +0100 Received: (from bricha3@localhost) by sivswdev02.ir.intel.com with id s4EAMhCp027456; Wed, 14 May 2014 11:22:43 +0100 From: Bruce Richardson To: dev@dpdk.org Date: Wed, 14 May 2014 11:22:35 +0100 Message-Id: <1400062955-27338-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH] 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: Wed, 14 May 2014 10:22:38 -0000 There was an issue with rebuilding the code following a change to one of the config files inside the "config" directory. If one did a "make install T=" and then made a modification to the defconfig_ file (or applied a patch which modified that file) a subsequent re-run of the make install command would not rebuild the .config file leading to either build failures or an incorrect build. This change fixes that issue. Signed-off-by: Bruce Richardson --- mk/rte.sdkinstall.mk | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 61a8771..00cb616 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -56,9 +56,7 @@ install: $(INSTALL_TARGETS) %_install: @echo ================== Installing $* - $(Q)if [ ! -f $(BUILD_DIR)/$*/.config ]; then \ - $(MAKE) config T=$* O=$(BUILD_DIR)/$*; \ - fi + $(Q)$(MAKE) config T=$* O=$(BUILD_DIR)/$* $(Q)$(MAKE) all O=$(BUILD_DIR)/$* # -- 1.7.0.7