提交 75e678b4 编写于 作者: O ohair

6623832: Cleanup old j2se makefile targets

Summary: Just removing unneeded makefile rules and 'control' logic.
Reviewed-by: xdono
上级 88811c83
...@@ -26,30 +26,17 @@ ...@@ -26,30 +26,17 @@
BUILD_PARENT_DIRECTORY=. BUILD_PARENT_DIRECTORY=.
ifndef TOPDIR ifndef TOPDIR
TOPDIR:=$(shell \ TOPDIR:=.
if [ -r ./j2se/make/Makefile -o -r ./jdk/make/Makefile ]; then \
echo "."; \
else \
echo "../.."; \
fi)
endif endif
ifndef CONTROL_TOPDIR ifndef CONTROL_TOPDIR
CONTROL_TOPDIR=$(TOPDIR)/control CONTROL_TOPDIR=$(TOPDIR)
CONTROL_TOPDIR:=$(shell \
if [ -r $(TOPDIR)/control/make/Makefile ]; then \
echo "$(TOPDIR)/control"; \
else \
echo "$(TOPDIR)"; \
fi)
endif endif
# Openjdk sources (only used if SKIP_OPENJDK_BUILD!=true) # Openjdk sources (only used if SKIP_OPENJDK_BUILD!=true)
OPENJDK_SOURCETREE=$(TOPDIR)/openjdk OPENJDK_SOURCETREE=$(TOPDIR)/openjdk
OPENJDK_BUILDDIR:=$(shell \ OPENJDK_BUILDDIR:=$(shell \
if [ -r $(OPENJDK_SOURCETREE)/control/make/Makefile ]; then \ if [ -r $(OPENJDK_SOURCETREE)/Makefile ]; then \
echo "$(OPENJDK_SOURCETREE)/control/make"; \
elif [ -r $(OPENJDK_SOURCETREE)/Makefile ]; then \
echo "$(OPENJDK_SOURCETREE)"; \ echo "$(OPENJDK_SOURCETREE)"; \
else \ else \
echo "."; \ echo "."; \
...@@ -497,10 +484,6 @@ include ./make/jprt.gmk ...@@ -497,10 +484,6 @@ include ./make/jprt.gmk
fastdebug_build debug_build product_build setup \ fastdebug_build debug_build product_build setup \
dev dev-build dev-sanity dev-clobber dev dev-build dev-sanity dev-clobber
# FIXUP: Old j2se targets
j2se_fastdebug_only: jdk_fastdebug_only
j2se_only: jdk_only
# Force target # Force target
FRC: FRC:
...@@ -121,11 +121,3 @@ compare-image-clobber: ...@@ -121,11 +121,3 @@ compare-image-clobber:
.PHONY: jdk jdk-build jdk-clobber jdk-sanity .PHONY: jdk jdk-build jdk-clobber jdk-sanity
# FIXUP: Old j2se target names
j2se-build: jdk-build
j2se-clobber:: jdk-clobber
j2se-sanity:: jdk-sanity
j2se: jdk
.PHONY: j2se j2se-build j2se-clobber j2se-sanity
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册