1.1 --- a/common/makefiles/Main.gmk Fri Feb 01 11:22:41 2013 +0100 1.2 +++ b/common/makefiles/Main.gmk Mon Feb 04 10:53:38 2013 +0100 1.3 @@ -75,7 +75,14 @@ 1.4 all: overlay-images 1.5 endif 1.6 1.7 -start-make: 1.8 +# Setup a rule for SPEC file that fails if executed. This check makes sure the configuration 1.9 +# is up to date after changes to configure 1.10 +$(SPEC): $(wildcard $(SRC_ROOT)/common/autoconf/*) 1.11 + @$(ECHO) ERROR: $(SPEC) is not up to date 1.12 + @$(ECHO) Please rerun configure! 1.13 + @if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi 1.14 + 1.15 +start-make: $(SPEC) 1.16 @$(call AtMakeStart) 1.17 1.18 langtools: langtools-only