8007093: build-infra: Make should fail if spec is older than configure files
Reviewed-by: tbell
This commit is contained in:
parent
97d1424b48
commit
2708349f7c
@ -75,7 +75,14 @@ ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
|
|||||||
all: overlay-images
|
all: overlay-images
|
||||||
endif
|
endif
|
||||||
|
|
||||||
start-make:
|
# Setup a rule for SPEC file that fails if executed. This check makes sure the configuration
|
||||||
|
# is up to date after changes to configure
|
||||||
|
$(SPEC): $(wildcard $(SRC_ROOT)/common/autoconf/*)
|
||||||
|
@$(ECHO) ERROR: $(SPEC) is not up to date
|
||||||
|
@$(ECHO) Please rerun configure!
|
||||||
|
@if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi
|
||||||
|
|
||||||
|
start-make: $(SPEC)
|
||||||
@$(call AtMakeStart)
|
@$(call AtMakeStart)
|
||||||
|
|
||||||
langtools: langtools-only
|
langtools: langtools-only
|
||||||
|
Loading…
Reference in New Issue
Block a user