Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk17 Public archive

Commit f48d5d1

Browse files
committed
8257789: Fix incremental build of test-image and bundles
Reviewed-by: tbell, ihse
1 parent 1a9ed92 commit f48d5d1

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Diff for: make/TestImage.gmk

+8-3
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,17 @@ $(BUILD_INFO_PROPERTIES):
3838
$(ECHO) "build.workspace.root=$(call FixPath, $(WORKSPACE_ROOT))" >> $@
3939
$(ECHO) "build.output.root=$(call FixPath, $(OUTPUTDIR))" >> $@
4040

41-
prepare-test-image: $(BUILD_INFO_PROPERTIES)
42-
$(call MakeDir, $(TEST_IMAGE_DIR))
43-
$(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
41+
README := $(TEST_IMAGE_DIR)/Readme.txt
42+
43+
$(README):
44+
$(call MakeTargetDir)
45+
$(ECHO) > $@ 'JDK test image'
46+
47+
TARGETS += $(BUILD_INFO_PROPERTIES) $(README)
4448

4549
################################################################################
4650

51+
prepare-test-image: $(TARGETS)
4752
all: prepare-test-image
4853

4954
.PHONY: default all prepare-test-image

0 commit comments

Comments
 (0)