123 # _BOOTDIR2: Second choice 124 ifndef ALT_BOOTDIR 125 _BOOTDIR1 =$(SLASH_JAVA)/re/jdk/$(PREVIOUS_JDK_VERSION)/archive/fcs/binaries/$(PLATFORM)-$(ARCH) 126 _BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION) 127 endif 128 129 # GCC_COMPILER_PATH: path to where the gcc/g++ compiler and tools are installed 130 # NOTE: Must end with / so that it could be empty, allowing PATH usage. 131 ifneq "$(origin ALT_GCC_COMPILER_PATH)" "undefined" 132 GCC_COMPILER_PATH :=$(call PrefixPath,$(ALT_GCC_COMPILER_PATH)) 133 else 134 GCC_COMPILER_PATH = $(JDK_DEVTOOLS_DIR)/$(ARCH_FAMILY)/gnucc/bin/ 135 endif 136 137 138 # Always build headless on Solaris 139 BUILD_HEADLESS = true 140 141 _CUPS_HEADERS_PATH=/opt/sfw/cups/include 142 143 # Import JDK images allow for partial builds, components not built are 144 # imported (or copied from) these import areas when needed. 145 146 # BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for 147 # multiple platforms, e.g. windows-i586, solaris-sparc, linux-586, etc. 148 ifdef ALT_BUILD_JDK_IMPORT_PATH 149 BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH)) 150 else 151 BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES) 152 endif 153 BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH) 154 155 # JDK_IMPORT_PATH: location of previously built JDK (this version) to import 156 ifdef ALT_JDK_IMPORT_PATH 157 JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH)) 158 else 159 JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT) 160 endif 161 JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH) 162 | 123 # _BOOTDIR2: Second choice 124 ifndef ALT_BOOTDIR 125 _BOOTDIR1 =$(SLASH_JAVA)/re/jdk/$(PREVIOUS_JDK_VERSION)/archive/fcs/binaries/$(PLATFORM)-$(ARCH) 126 _BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION) 127 endif 128 129 # GCC_COMPILER_PATH: path to where the gcc/g++ compiler and tools are installed 130 # NOTE: Must end with / so that it could be empty, allowing PATH usage. 131 ifneq "$(origin ALT_GCC_COMPILER_PATH)" "undefined" 132 GCC_COMPILER_PATH :=$(call PrefixPath,$(ALT_GCC_COMPILER_PATH)) 133 else 134 GCC_COMPILER_PATH = $(JDK_DEVTOOLS_DIR)/$(ARCH_FAMILY)/gnucc/bin/ 135 endif 136 137 138 # Always build headless on Solaris 139 BUILD_HEADLESS = true 140 141 _CUPS_HEADERS_PATH=/opt/sfw/cups/include 142 143 # Set ZLIB_LIBS if not already set 144 ifeq ("$(ZLIB_LIBS)", "") 145 ZLIB_LIBS=-lz 146 endif 147 148 # Import JDK images allow for partial builds, components not built are 149 # imported (or copied from) these import areas when needed. 150 151 # BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for 152 # multiple platforms, e.g. windows-i586, solaris-sparc, linux-586, etc. 153 ifdef ALT_BUILD_JDK_IMPORT_PATH 154 BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH)) 155 else 156 BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES) 157 endif 158 BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH) 159 160 # JDK_IMPORT_PATH: location of previously built JDK (this version) to import 161 ifdef ALT_JDK_IMPORT_PATH 162 JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH)) 163 else 164 JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT) 165 endif 166 JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH) 167 |