提交 f6e1823f 编写于 作者: O ohair

Merge

...@@ -29,15 +29,6 @@ ifndef TOPDIR ...@@ -29,15 +29,6 @@ ifndef TOPDIR
TOPDIR:=. TOPDIR:=.
endif endif
# Openjdk sources (only used if SKIP_OPENJDK_BUILD!=true)
OPENJDK_SOURCETREE=$(TOPDIR)/openjdk
OPENJDK_BUILDDIR:=$(shell \
if [ -r $(OPENJDK_SOURCETREE)/Makefile ]; then \
echo "$(OPENJDK_SOURCETREE)"; \
else \
echo "."; \
fi)
ifndef JDK_TOPDIR ifndef JDK_TOPDIR
JDK_TOPDIR=$(TOPDIR)/jdk JDK_TOPDIR=$(TOPDIR)/jdk
endif endif
...@@ -70,7 +61,7 @@ include ./make/deploy-rules.gmk ...@@ -70,7 +61,7 @@ include ./make/deploy-rules.gmk
all:: all::
@$(START_ECHO) @$(START_ECHO)
all:: openjdk_check sanity all:: sanity
ifeq ($(SKIP_FASTDEBUG_BUILD), false) ifeq ($(SKIP_FASTDEBUG_BUILD), false)
all:: fastdebug_build all:: fastdebug_build
...@@ -80,10 +71,6 @@ ifeq ($(SKIP_DEBUG_BUILD), false) ...@@ -80,10 +71,6 @@ ifeq ($(SKIP_DEBUG_BUILD), false)
all:: debug_build all:: debug_build
endif endif
ifneq ($(SKIP_OPENJDK_BUILD), true)
all:: openjdk_build
endif
all:: all_product_build all:: all_product_build
all:: all::
...@@ -267,81 +254,6 @@ product_build:: build_product_image ...@@ -267,81 +254,6 @@ product_build:: build_product_image
debug_build:: build_debug_image debug_build:: build_debug_image
fastdebug_build:: build_fastdebug_image fastdebug_build:: build_fastdebug_image
# Check on whether we really can build the openjdk, need source etc.
openjdk_check: FRC
ifneq ($(SKIP_OPENJDK_BUILD), true)
@$(ECHO) " "
@$(ECHO) "================================================="
@if [ ! -r $(OPENJDK_BUILDDIR)/Makefile ] ; then \
$(ECHO) "ERROR: No openjdk source tree available at: $(OPENJDK_BUILDDIR)"; \
exit 1; \
else \
$(ECHO) "OpenJDK will be built after JDK is built"; \
$(ECHO) " OPENJDK_BUILDDIR=$(OPENJDK_BUILDDIR)"; \
fi
@$(ECHO) "================================================="
@$(ECHO) " "
endif
# If we have bundle rules, we have a chance here to do a complete cycle
# build, of production and open build.
# FIXUP: We should create the openjdk source bundle and build that?
# But how do we reliable create or get at a formal openjdk source tree?
# The one we have needs to be trimmed of built bits and closed dirs.
# The repositories might not be available.
# The openjdk source bundle is probably not available.
ifneq ($(SKIP_OPENJDK_BUILD), true)
ifeq ($(BUILD_JDK), true)
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
OPENJDK_OUTPUTDIR=$(ABS_OUTPUTDIR)/open-output
OPENJDK_BUILD_NAME \
= openjdk-$(JDK_MINOR_VERSION)-$(BUILD_NUMBER)-$(PLATFORM)-$(ARCH)-$(BUNDLE_DATE)
OPENJDK_BUILD_BINARY_ZIP=$(ABS_BIN_BUNDLEDIR)/$(OPENJDK_BUILD_NAME).zip
BUILT_IMAGE=$(ABS_OUTPUTDIR)/j2sdk-image
ifeq ($(PLATFORM)$(ARCH_DATA_MODEL),solaris64)
OPENJDK_BOOTDIR=$(BOOTDIR)
OPENJDK_IMPORTJDK=$(JDK_IMPORT_PATH)
else
OPENJDK_BOOTDIR=$(BUILT_IMAGE)
OPENJDK_IMPORTJDK=$(BUILT_IMAGE)
endif
openjdk_build:
@$(START_ECHO)
@$(ECHO) " "
@$(ECHO) "================================================="
@$(ECHO) "Starting openjdk build"
@$(ECHO) " Using: ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR)"
@$(ECHO) "================================================="
@$(ECHO) " "
$(RM) -r $(OPENJDK_OUTPUTDIR)
$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
OPENJDK=true \
GENERATE_DOCS=false \
ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
ALT_BOOTDIR=$(OPENJDK_BOOTDIR) \
ALT_JDK_IMPORT_PATH=$(OPENJDK_IMPORTJDK) \
product_build )
$(RM) $(OPENJDK_BUILD_BINARY_ZIP)
( $(CD) $(OPENJDK_OUTPUTDIR)/j2sdk-image && \
$(ZIPEXE) -q -r $(OPENJDK_BUILD_BINARY_ZIP) .)
$(RM) -r $(OPENJDK_OUTPUTDIR)
@$(ECHO) " "
@$(ECHO) "================================================="
@$(ECHO) "Finished openjdk build"
@$(ECHO) " Binary Bundle: $(OPENJDK_BUILD_BINARY_ZIP)"
@$(ECHO) "================================================="
@$(ECHO) " "
@$(FINISH_ECHO)
endif
endif
endif
clobber:: clobber::
$(RM) -r $(OUTPUTDIR)/* $(RM) -r $(OUTPUTDIR)/*
$(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-debug/* $(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-debug/*
...@@ -448,7 +360,6 @@ CACERTS_FILE.desc = Location of certificates file ...@@ -448,7 +360,6 @@ CACERTS_FILE.desc = Location of certificates file
DEVTOOLS_PATH.desc = Directory containing zip and gnumake DEVTOOLS_PATH.desc = Directory containing zip and gnumake
CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files
DXSDK_PATH.desc = Root directory of DirectX SDK DXSDK_PATH.desc = Root directory of DirectX SDK
MSVCRT_DLL_PATH.desc = Directory containing mscvrt.dll
# Make variables to print out (description and value) # Make variables to print out (description and value)
VARIABLE_PRINTVAL_LIST += \ VARIABLE_PRINTVAL_LIST += \
...@@ -477,12 +388,10 @@ VARIABLE_CHECKFIL_LIST += \ ...@@ -477,12 +388,10 @@ VARIABLE_CHECKFIL_LIST += \
ifeq ($(PLATFORM), windows) ifeq ($(PLATFORM), windows)
VARIABLE_PRINTVAL_LIST += \ VARIABLE_PRINTVAL_LIST += \
DXSDK_PATH \ DXSDK_PATH
MSVCRT_DLL_PATH
VARIABLE_CHECKDIR_LIST += \ VARIABLE_CHECKDIR_LIST += \
DXSDK_PATH \ DXSDK_PATH
MSVCRT_DLL_PATH
endif endif
......
...@@ -1414,14 +1414,14 @@ ...@@ -1414,14 +1414,14 @@
but it's normally found via the DirectX environment variable but it's normally found via the DirectX environment variable
<tt>DXSDK_DIR</tt>. <tt>DXSDK_DIR</tt>.
</blockquote> </blockquote>
<strong><a name="msvcrt"><tt>MSVCR100.DLL</tt></a></strong> <strong><a name="msvcrNN"><tt>MSVCR100.DLL</tt></a></strong>
<blockquote> <blockquote>
The OpenJDK build requires access to a redistributable The OpenJDK build requires access to a redistributable
<tt>MSVCR100.DLL</tt>. <tt>MSVCR100.DLL</tt>.
This is usually picked up automatically from the redist This is usually picked up automatically from the redist
directories of Visual Studio 2010. directories of Visual Studio 2010.
If this cannot be found set the If this cannot be found set the
<a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a> <a href="#ALT_MSVCRNN_DLL_PATH"><tt>ALT_MSVCRNN_DLL_PATH</tt></a>
variable to the location of this file. variable to the location of this file.
<p> <p>
</blockquote> </blockquote>
...@@ -1671,15 +1671,10 @@ ...@@ -1671,15 +1671,10 @@
variable <tt>DXSDK_DIR</tt>, variable <tt>DXSDK_DIR</tt>,
failing that, look in <tt>C:/DXSDK</tt>. failing that, look in <tt>C:/DXSDK</tt>.
</dd> </dd>
<dt><tt><a name="ALT_MSVCRT_DLL_PATH">ALT_MSVCRT_DLL_PATH</a></tt> </dt>
<dd>
The location of the
<a href="#msvcrt"><tt>MSVCRT.DLL</tt></a>.
</dd>
<dt><tt><a name="ALT_MSVCRNN_DLL_PATH">ALT_MSVCRNN_DLL_PATH</a></tt> </dt> <dt><tt><a name="ALT_MSVCRNN_DLL_PATH">ALT_MSVCRNN_DLL_PATH</a></tt> </dt>
<dd> <dd>
The location of the The location of the
<a href="#msvcrt"><tt>MSVCR100.DLL</tt></a>. <a href="#msvcrNN"><tt>MSVCR100.DLL</tt></a>.
</dd> </dd>
</dl> </dl>
</dd> </dd>
......
...@@ -147,7 +147,7 @@ ifndef BUILD_SPONSORS ...@@ -147,7 +147,7 @@ ifndef BUILD_SPONSORS
endif endif
# Do we build the source and openjdk binary plug bundles? # Do we build the source bundles?
BUNDLE_RULES = $(JDK_TOPDIR)/make/closed/bundles.gmk BUNDLE_RULES = $(JDK_TOPDIR)/make/closed/bundles.gmk
ifeq ($(SKIP_BUNDLES_BUILD), true) ifeq ($(SKIP_BUNDLES_BUILD), true)
BUNDLE_RULES_AVAILABLE := false BUNDLE_RULES_AVAILABLE := false
...@@ -171,7 +171,6 @@ ifdef OPENJDK ...@@ -171,7 +171,6 @@ ifdef OPENJDK
ifndef SKIP_COMPARE_IMAGES ifndef SKIP_COMPARE_IMAGES
SKIP_COMPARE_IMAGES = true SKIP_COMPARE_IMAGES = true
endif endif
SKIP_OPENJDK_BUILD = true
else else
# Various non-OPENJDK reasons to NOT build the deploy repository # Various non-OPENJDK reasons to NOT build the deploy repository
...@@ -187,21 +186,11 @@ else ...@@ -187,21 +186,11 @@ else
endif endif
endif endif
ifndef SKIP_OPENJDK_BUILD
#SKIP_OPENJDK_BUILD = false
# Until 6675289 is resolved, or this feature is removed.
SKIP_OPENJDK_BUILD = true
endif
endif endif
ifndef SKIP_PRODUCT_BUILD ifndef SKIP_PRODUCT_BUILD
SKIP_PRODUCT_BUILD = false SKIP_PRODUCT_BUILD = false
endif endif
# Solaris 64 bit builds are not complete enough to ever do this
ifeq ($(PLATFORM)$(ARCH_DATA_MODEL),solaris64)
SKIP_OPENJDK_BUILD = true
endif
# Many reasons why we would want to skip the comparison to previous jdk # Many reasons why we would want to skip the comparison to previous jdk
ifndef SKIP_COMPARE_IMAGES ifndef SKIP_COMPARE_IMAGES
ifeq ($(BUILD_JDK), false) ifeq ($(BUILD_JDK), false)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册