From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH] mk: allow updates to build config on make install Date: Wed, 14 May 2014 11:22:35 +0100 Message-ID: <1400062955-27338-1-git-send-email-bruce.richardson@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: 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" 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