Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
c04dcdb4
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c04dcdb4
编写于
7月 05, 2017
作者:
D
duke
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
2f28ba64
d26276b7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
40 addition
and
14 deletion
+40
-14
.hgtags-top-repo
.hgtags-top-repo
+1
-0
Makefile
Makefile
+36
-11
make/jprt.gmk
make/jprt.gmk
+3
-3
未找到文件。
.hgtags-top-repo
浏览文件 @
c04dcdb4
...
...
@@ -116,3 +116,4 @@ fc47c97bbbd91b1f774d855c48a7e285eb1a351a jdk7-b138
7ed6d0b9aaa12320832a7ddadb88d6d8d0dda4c1 jdk7-b139
dcfe74f1c6553c556e7d361c30b0b614eb5e40f6 jdk7-b140
c6569c5585851dfd39b8de8e021c3c312f51af12 jdk7-b141
cfbbdb77eac0397b03eb99ee2e07ea00e0a7b81e jdk7-b142
Makefile
浏览文件 @
c04dcdb4
...
...
@@ -25,6 +25,34 @@
BUILD_PARENT_DIRECTORY
=
.
# Basename of any originally supplied ALT_OUTPUTDIR directory
ifndef
ORIG_OUTPUTDIR_BASENAME
ifdef
ALT_OUTPUTDIR
ORIG_OUTPUTDIR_BASENAME
:=
$(
shell
basename
$(ALT_OUTPUTDIR)
)
else
ORIG_OUTPUTDIR_BASENAME
=
$(PLATFORM)
-
$(ARCH)
endif
endif
export
ORIG_OUTPUTDIR_BASENAME
# The three possible directories created for output (3 build flavors)
OUTPUTDIR_BASENAME-
=
$(ORIG_OUTPUTDIR_BASENAME)
OUTPUTDIR_BASENAME-debug
=
$(ORIG_OUTPUTDIR_BASENAME)
-debug
OUTPUTDIR_BASENAME-fastdebug
=
$(ORIG_OUTPUTDIR_BASENAME)
-fastdebug
# Relative path to a debug output area
REL_JDK_OUTPUTDIR
=
../
$
(
OUTPUTDIR_BASENAME-
$(DEBUG_NAME)
)
# The created jdk image directory
JDK_IMAGE_DIRNAME
=
j2sdk-image
JDK_IMAGE_DIR
=
$(OUTPUTDIR)
/
$(JDK_IMAGE_DIRNAME)
ABS_JDK_IMAGE_DIR
=
$(ABS_OUTPUTDIR)
/
$(JDK_IMAGE_DIRNAME)
# Relative path from an output directory to the image directory
REL_JDK_IMAGE_DIR
=
../
$
(
OUTPUTDIR_BASENAME-
$(DEBUG_NAME)
)
/
$(JDK_IMAGE_DIRNAME)
REL_JDK_DEBUG_IMAGE_DIR
=
../
$
(
OUTPUTDIR_BASENAME-debug
)
/
$(JDK_IMAGE_DIRNAME)
REL_JDK_FASTDEBUG_IMAGE_DIR
=
../
$
(
OUTPUTDIR_BASENAME-fastdebug
)
/
$(JDK_IMAGE_DIRNAME)
ifndef
TOPDIR
TOPDIR
:=
.
endif
...
...
@@ -98,8 +126,7 @@ endef
# Generic build of basic repo series
generic_build_repo_series
::
$(SOURCE_TIPS)
$(MKDIR)
-p
$(OUTPUTDIR)
$(MKDIR)
-p
$(OUTPUTDIR)
/j2sdk-image
$(MKDIR)
-p
$(JDK_IMAGE_DIR)
@
$(
call
StartTimer
)
ifeq
($(BUILD_LANGTOOLS), true)
...
...
@@ -146,8 +173,8 @@ generic_build_repo_series::
#
# DEBUG_NAME is fastdebug or debug
# ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix
# The resulting
j2sdk-image is used by the install makefiles to create a
# debug install bundle jdk-*-debug-** bundle (tar or zip)
# The resulting
image directory (j2sdk-image) is used by the install makefiles
#
to create a
debug install bundle jdk-*-debug-** bundle (tar or zip)
# which will install in the debug or fastdebug subdirectory of the
# normal product install area.
# The install process needs to know what the DEBUG_NAME is, so
...
...
@@ -160,8 +187,8 @@ generic_build_repo_series::
# Location of fresh bootdir output
ABS_BOOTDIR_OUTPUTDIR
=
$(ABS_OUTPUTDIR)
/bootjdk
FRESH_BOOTDIR
=
$(ABS_BOOTDIR_OUTPUTDIR)
/
j2sdk-image
FRESH_DEBUG_BOOTDIR
=
$(ABS_BOOTDIR_OUTPUTDIR)
/
../
$(PLATFORM)
-
$(ARCH)
-
$(DEBUG_NAME)
/j2sdk-image
FRESH_BOOTDIR
=
$(ABS_BOOTDIR_OUTPUTDIR)
/
$(JDK_IMAGE_DIRNAME)
FRESH_DEBUG_BOOTDIR
=
$(ABS_BOOTDIR_OUTPUTDIR)
/
$(REL_JDK_IMAGE_DIR)
create_fresh_product_bootdir
:
FRC
$(MAKE)
ALT_OUTPUTDIR
=
$(ABS_BOOTDIR_OUTPUTDIR)
\
...
...
@@ -226,7 +253,7 @@ build_product_image:
generic_debug_build
:
$(MAKE)
\
ALT_OUTPUTDIR
=
$(ABS_OUTPUTDIR)
/
../
$(PLATFORM)
-
$(ARCH)
-
$(DEBUG_NAME
)
\
ALT_OUTPUTDIR
=
$(ABS_OUTPUTDIR)
/
$(REL_JDK_OUTPUTDIR
)
\
DEBUG_NAME
=
$(DEBUG_NAME)
\
GENERATE_DOCS
=
false
\
$(BOOT_CYCLE_DEBUG_SETTINGS)
\
...
...
@@ -254,8 +281,6 @@ $(SOURCE_TIPS): FRC
clobber
::
REPORT_BUILD_TIMES=
clobber
::
$(RM)
-r
$(OUTPUTDIR)
/
*
$(RM)
-r
$(OUTPUTDIR)
/../
$(PLATFORM)
-
$(ARCH)
-debug
/
*
$(RM)
-r
$(OUTPUTDIR)
/../
$(PLATFORM)
-
$(ARCH)
-fastdebug
/
*
-
(
$(RMDIR)
-p
$(OUTPUTDIR)
>
$(DEV_NULL)
2>&1
;
$(TRUE)
)
clean
:
clobber
...
...
@@ -489,8 +514,8 @@ $(OUTPUTDIR)/test_failures.txt: $(OUTPUTDIR)/test_log.txt
# Get log file of all tests run
JDK_TO_TEST
:=
$(
shell
\
if
[
-d
"
$(ABS_
OUTPUTDIR)
/j2sdk-image"
]
;
then
\
$(ECHO)
"
$(ABS_
OUTPUTDIR)
/j2sdk-image"
;
\
if
[
-d
"
$(ABS_
JDK_IMAGE_DIR)
"
]
;
then
\
$(ECHO)
"
$(ABS_
JDK_IMAGE_DIR)
"
;
\
elif
[
-d
"
$(ABS_OUTPUTDIR)
/bin"
]
;
then
\
$(ECHO)
"
$(ABS_OUTPUTDIR)
"
;
\
elif
[
"
$(PRODUCT_HOME)
"
!=
""
-a
-d
"
$(PRODUCT_HOME)
/bin"
]
;
then
\
...
...
make/jprt.gmk
浏览文件 @
c04dcdb4
...
...
@@ -37,7 +37,7 @@ JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(DEFAULT_BUILD_FLAVOR)-bundle.zip
JPRT_ARCHIVE_INSTALL_BUNDLE=$(ABS_OUTPUTDIR)/$(DEFAULT_BUILD_FLAVOR)-install-bundle.zip
jprt_build_product: sanity all_product_build
( $(CD) $(OUTPUTDIR)/
j2sdk-image
&& \
( $(CD) $(OUTPUTDIR)/
$(JDK_IMAGE_DIRNAME)
&& \
$(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
ifdef HAVE_JPRT_SAVE_BUNDLES
( $(CD) $(OUTPUTDIR)/bundles && \
...
...
@@ -45,11 +45,11 @@ ifdef HAVE_JPRT_SAVE_BUNDLES
endif
jprt_build_fastdebug: fastdebug_build
( $(CD) $(OUTPUTDIR)/
../$(PLATFORM)-$(ARCH)-fastdebug/j2sdk-image
&& \
( $(CD) $(OUTPUTDIR)/
$(REL_JDK_FASTDEBUG_IMAGE_DIR)
&& \
$(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
jprt_build_debug: debug_build
( $(CD) $(OUTPUTDIR)/
../$(PLATFORM)-$(ARCH)-debug/j2sdk-image
&& \
( $(CD) $(OUTPUTDIR)/
$(REL_JDK_DEBUG_IMAGE_DIR)
&& \
$(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
################################################################
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录