< prev index next >
make/Main.gmk
Print this page
*** 210,220 ****
$(SUPPORT_OUTPUTDIR)/source_tips: FRC
@$(MKDIR) -p $(@D)
@$(RM) $@
@$(call GetSourceTips)
! BOOTCYCLE_TARGET := images
bootcycle-images:
@$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
+$(MAKE) $(MAKE_ARGS) -f Main.gmk SPEC=$(dir $(SPEC))bootcycle-spec.gmk $(BOOTCYCLE_TARGET)
zip-security:
--- 210,220 ----
$(SUPPORT_OUTPUTDIR)/source_tips: FRC
@$(MKDIR) -p $(@D)
@$(RM) $@
@$(call GetSourceTips)
! BOOTCYCLE_TARGET := product-images
bootcycle-images:
@$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
+$(MAKE) $(MAKE_ARGS) -f Main.gmk SPEC=$(dir $(SPEC))bootcycle-spec.gmk $(BOOTCYCLE_TARGET)
zip-security:
*** 441,475 ****
$(foreach m, $(COPY_MODULES), $(eval $m: $m-copy))
ALL_MODULE_TARGETS := $(sort $(GENSRC_MODULES) $(JAVA_MODULES) \
$(GENDATA_MODULES) $(LIBS_MODULES) $(LAUNCHER_MODULES) $(COPY_MODULES))
exploded-image: $(ALL_MODULE_TARGETS)
- # The old 'jdk' target most closely matches the new exploded-image. Keep an
- # alias for ease of use.
- jdk: exploded-image
! images: test-image jimages demos samples zip-security verify-modules
ifeq ($(OPENJDK_TARGET_OS), macosx)
! images: mac-bundles
endif
! docs: docs-javadoc docs-jvmtidoc
test-image: prepare-test-image
ALL_TARGETS += buildtools gensrc gendata copy java rmic libs launchers \
! jdk.jdwp.agent-gensrc $(ALL_MODULE_TARGETS) exploded-image jdk images \
! docs test-image
################################################################################
! all: images
default: exploded-image
! ALL_TARGETS += default all
################################################################################
################################################################################
#
# Clean targets
--- 441,489 ----
$(foreach m, $(COPY_MODULES), $(eval $m: $m-copy))
ALL_MODULE_TARGETS := $(sort $(GENSRC_MODULES) $(JAVA_MODULES) \
$(GENDATA_MODULES) $(LIBS_MODULES) $(LAUNCHER_MODULES) $(COPY_MODULES))
+ # The "exploded image" is a locally runnable JDK in $(BUILD_OUTPUT)/jdk.
exploded-image: $(ALL_MODULE_TARGETS)
! # The $(BUILD_OUTPUT)/images directory contain the resulting deliverables,
! # and in line with this, our targets for creating these are named *-image[s].
!
! # This target builds the product images, e.g. the JRE and JDK image
! # (and possibly other, more specific versions)
! product-images: jimages demos samples zip-security verify-modules
ifeq ($(OPENJDK_TARGET_OS), macosx)
! product-images: mac-bundles
endif
! # This target builds the documentation image
! docs-image: docs-javadoc docs-jvmtidoc
+ # This target builds the test image
test-image: prepare-test-image
+ # all-images is the top-most target, it builds all our deliverables ("images").
+ all-images: product-images test-image docs-image
+
ALL_TARGETS += buildtools gensrc gendata copy java rmic libs launchers \
! jdk.jdwp.agent-gensrc $(ALL_MODULE_TARGETS) exploded-image \
! product-images docs-image test-image all-images
################################################################################
! # Traditional targets typically run by users.
! # These can now be considered alias for the targets now named by a more
! # "modern" naming scheme.
default: exploded-image
+ jdk: exploded-image
+ images: product-images
+ docs: docs-image
+ all: all-images
! ALL_TARGETS += default jdk images docs all
################################################################################
################################################################################
#
# Clean targets
< prev index next >