common/makefiles/Main.gmk

changeset 627
28071e4ca1de
parent 624
7ed0c9db6943
parent 619
76808fb4194a
child 635
907a926d3c96
child 645
5b0b6ef58dbf
child 883
e877cb3eb4d6
     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

mercurial