Make sure configuration happens before pre-build

This commit is contained in:
Christophe de Dinechin 2017-11-21 17:40:29 +01:00
parent 798771a4dc
commit 263725113e
1 changed files with 2 additions and 2 deletions

View File

@ -182,9 +182,9 @@ objects:$(OBJDIR:%=%/.mkdir) $(OBJECTS)
# "Hooks" for pre and post build steps # "Hooks" for pre and post build steps
config: $(VARIANTS:%=%.variant) config: $(VARIANTS:%=%.variant)
config: $(CONFIG:%=config.h)
config: $(PKGCONFIGS:%=$(OBJROOT)/%.pkg-config.mk) config: $(PKGCONFIGS:%=$(OBJROOT)/%.pkg-config.mk)
prebuild: config: $(CONFIG:%=config.h)
prebuild: config
postbuild: postbuild:
# Run the test (in the object directory) # Run the test (in the object directory)