DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] mk: allow updates to build config on make install
@ 2014-05-14 10:22 Bruce Richardson
  2014-05-14 10:33 ` Thomas Monjalon
  2014-05-14 15:55 ` [dpdk-dev] [PATCH v2] " Bruce Richardson
  0 siblings, 2 replies; 15+ messages in thread
From: Bruce Richardson @ 2014-05-14 10:22 UTC (permalink / raw)
  To: 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=<target>" and then made a modification to the
defconfig_<target> 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<bruce.richardson@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-06-11  9:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-14 10:22 [dpdk-dev] [PATCH] mk: allow updates to build config on make install Bruce Richardson
2014-05-14 10:33 ` Thomas Monjalon
2014-05-14 10:51   ` Richardson, Bruce
2014-05-14 11:55     ` Thomas Monjalon
2014-05-14 12:33       ` Richardson, Bruce
2014-05-14 12:54         ` Thomas Monjalon
2014-05-14 12:57           ` Richardson, Bruce
2014-05-14 15:55 ` [dpdk-dev] [PATCH v2] " Bruce Richardson
2014-05-20 11:37   ` Olivier MATZ
2014-06-10 13:51     ` [dpdk-dev] [PATCH v3] " Thomas Monjalon
2014-06-10 16:02       ` Olivier MATZ
2014-06-10 16:29         ` Richardson, Bruce
2014-06-10 16:38           ` [dpdk-dev] [PATCH v4] " Thomas Monjalon
2014-06-10 18:43             ` Richardson, Bruce
2014-06-11  9:54               ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).