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 at 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