Disable configuration steps before actually building

This ensures that configuration steps are properly logged in make.log
This commit is contained in:
Christophe de Dinechin 2017-11-27 18:46:13 +01:00
parent 4eab5b04b5
commit 9da269b646
1 changed files with 2 additions and 3 deletions

View File

@ -319,11 +319,11 @@ $(MAKECMDGOALS): deep_build
endif
ifdef RECURSE
#------------------------------------------------------------------------------
# Dependencies generation
#------------------------------------------------------------------------------
ifdef TARGET
DEPENDENCIES=$(SOURCES:%=$(OBJDIR)%$(OBJ_EXT).d)
OBJDIR_DEPS=$(OBJDIR)%.deps/.mkdir
@ -365,8 +365,6 @@ $(OUTPUT_DLL): $(LINK_INPUTS) $$(LINK_INPUTS) $(MAKEFILE_DEPS)
$(OUTPUT_EXE): $(LINK_INPUTS) $$(LINK_INPUTS) $(MAKEFILE_DEPS)
$(PRINT_BUILD) $(MAKE_EXE)
endif
# Only build the leaf projects in parallel,
# since we don't have proper dependency between independent
# libraries and we may otherwise end up building the same
@ -461,6 +459,7 @@ $(OBJDIR)CFG-FN_HAVE_%.c: config/check_%.c $(CONFIG_DEPS)
$(PRINT_COMMAND) cp $< $@
.PRECIOUS: $(OBJDIR)CFG-FN_HAVE_%.c
endif
#------------------------------------------------------------------------------
# Makefile optimization tricks