1.1 --- a/common/makefiles/Main.gmk Mon Feb 04 18:08:42 2013 -0500 1.2 +++ b/common/makefiles/Main.gmk Sun Feb 17 16:44:28 2013 -0500 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 1.19 @@ -173,7 +180,7 @@ 1.20 1.21 test: start-make 1.22 @$(call TargetEnter) 1.23 - @($(CD) $(SRC_ROOT)/test && $(BUILD_LOG_WRAPPER) $(MAKE) MAKEFLAGS= -j1 PRODUCT_HOME=$(OUTPUT_ROOT)/jdk JPRT_JAVA_HOME=$(OUTPUT_ROOT)/jdk ALT_OUTPUTDIR=$(OUTPUT_ROOT) $(TEST)) || true 1.24 + @($(CD) $(SRC_ROOT)/test && $(BUILD_LOG_WRAPPER) $(MAKE) -j1 -k MAKEFLAGS= PRODUCT_HOME=$(OUTPUT_ROOT)/jdk JPRT_JAVA_HOME=$(OUTPUT_ROOT)/jdk ALT_OUTPUTDIR=$(OUTPUT_ROOT) $(TEST)) || true 1.25 @$(call TargetExit) 1.26 1.27 # Stores the tips for each repository. This file is be used when constructing the jdk image and can be