Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
e74371eb
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e74371eb
编写于
1月 13, 2011
作者:
O
ohair
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
49e64f7a
a8ce0b66
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
2 addition
and
101 deletion
+2
-101
Makefile
Makefile
+1
-89
make/Defs-internal.gmk
make/Defs-internal.gmk
+1
-12
未找到文件。
Makefile
浏览文件 @
e74371eb
...
...
@@ -29,15 +29,6 @@ ifndef TOPDIR
TOPDIR
:=
.
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
JDK_TOPDIR
=
$(TOPDIR)
/jdk
endif
...
...
@@ -70,7 +61,7 @@ include ./make/deploy-rules.gmk
all
::
@
$(START_ECHO)
all
::
openjdk_check
sanity
all
::
sanity
ifeq
($(SKIP_FASTDEBUG_BUILD), false)
all
::
fastdebug_build
...
...
@@ -80,10 +71,6 @@ ifeq ($(SKIP_DEBUG_BUILD), false)
all
::
debug_build
endif
ifneq
($(SKIP_OPENJDK_BUILD), true)
all
::
openjdk_build
endif
all
::
all_product_build
all
::
...
...
@@ -267,81 +254,6 @@ product_build:: build_product_image
debug_build
::
build_debug_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
::
$(RM)
-r
$(OUTPUTDIR)
/
*
$(RM)
-r
$(OUTPUTDIR)
/../
$(PLATFORM)
-
$(ARCH)
-debug
/
*
...
...
make/Defs-internal.gmk
浏览文件 @
e74371eb
...
...
@@ -147,7 +147,7 @@ ifndef BUILD_SPONSORS
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
ifeq ($(SKIP_BUNDLES_BUILD), true)
BUNDLE_RULES_AVAILABLE := false
...
...
@@ -171,7 +171,6 @@ ifdef OPENJDK
ifndef SKIP_COMPARE_IMAGES
SKIP_COMPARE_IMAGES = true
endif
SKIP_OPENJDK_BUILD = true
else
# Various non-OPENJDK reasons to NOT build the deploy repository
...
...
@@ -187,21 +186,11 @@ else
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
ifndef SKIP_PRODUCT_BUILD
SKIP_PRODUCT_BUILD = false
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
ifndef SKIP_COMPARE_IMAGES
ifeq ($(BUILD_JDK), false)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录