annotate make/InterimImage.gmk @ 54961:d04f72c354e9

8215363: needless signals in ForkJoinPool Reviewed-by: martin, chegar, dholmes
author dl
date Fri, 15 Feb 2019 11:18:01 -0800
parents 2a25589b5971
children
rev   line source
redestad@37770 1 #
ihse@53841 2 # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
redestad@37770 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
redestad@37770 4 #
redestad@37770 5 # This code is free software; you can redistribute it and/or modify it
redestad@37770 6 # under the terms of the GNU General Public License version 2 only, as
redestad@37770 7 # published by the Free Software Foundation. Oracle designates this
redestad@37770 8 # particular file as subject to the "Classpath" exception as provided
redestad@37770 9 # by Oracle in the LICENSE file that accompanied this code.
redestad@37770 10 #
redestad@37770 11 # This code is distributed in the hope that it will be useful, but WITHOUT
redestad@37770 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
redestad@37770 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
redestad@37770 14 # version 2 for more details (a copy is included in the LICENSE file that
redestad@37770 15 # accompanied this code).
redestad@37770 16 #
redestad@37770 17 # You should have received a copy of the GNU General Public License version
redestad@37770 18 # 2 along with this work; if not, write to the Free Software Foundation,
redestad@37770 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
redestad@37770 20 #
redestad@37770 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
redestad@37770 22 # or visit www.oracle.com if you need additional information or have any
redestad@37770 23 # questions.
redestad@37770 24 #
redestad@37770 25
redestad@37770 26 default: all
redestad@37770 27
redestad@37770 28 include $(SPEC)
redestad@37770 29 include MakeBase.gmk
redestad@37770 30 include Modules.gmk
redestad@37770 31
redestad@37770 32 ################################################################################
redestad@37770 33
redestad@37770 34 # Use this file inside the image as target for make rule
redestad@37770 35 JIMAGE_TARGET_FILE := bin/java$(EXE_SUFFIX)
redestad@37770 36
redestad@37770 37 INTERIM_MODULES_LIST := $(call CommaList, $(INTERIM_IMAGE_MODULES))
redestad@37770 38
erikj@41874 39 JMODS := $(patsubst %, $(INTERIM_JMODS_DIR)/%.jmod, $(INTERIM_IMAGE_MODULES))
redestad@37770 40
mchung@42505 41 JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
erikj@41874 42 --module-path $(INTERIM_JMODS_DIR) \
redestad@37770 43 --endian $(OPENJDK_BUILD_CPU_ENDIAN)
redestad@37770 44
redestad@37770 45 $(INTERIM_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
redestad@37770 46 $(call DependOnVariable, INTERIM_MODULES_LIST)
erikj@41874 47 $(call LogWarn, Creating interim jimage)
redestad@37770 48 $(RM) -r $(INTERIM_IMAGE_DIR)
redestad@37770 49 $(JLINK_TOOL) \
redestad@37770 50 --output $(INTERIM_IMAGE_DIR) \
redestad@49638 51 --disable-plugin generate-jli-classes \
mchung@40241 52 --add-modules $(INTERIM_MODULES_LIST)
redestad@37770 53 $(TOUCH) $@
redestad@37770 54
redestad@37770 55 TARGETS += $(INTERIM_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
redestad@37770 56
redestad@37770 57 ################################################################################
redestad@37770 58
redestad@37770 59 all: $(TARGETS)
redestad@37770 60
redestad@37770 61 .PHONY: all