提交 93751fb2 编写于 作者: A andrew

8217753: Enable HotSpot builds on 5.x Linux kernels

Summary: Remove Linux kernel version check as very unlikely a kernel older than 2.4 will be used.
Reviewed-by: erikj
上级 8f54b29d
...@@ -227,20 +227,7 @@ all: ...@@ -227,20 +227,7 @@ all:
@echo " $(TARGETS_SHARK)" @echo " $(TARGETS_SHARK)"
@echo " $(TARGETS_MINIMAL1)" @echo " $(TARGETS_MINIMAL1)"
checks: check_os_version check_j2se_version checks: check_j2se_version
# We do not want people accidentally building on old systems (e.g. Linux 2.2.x,
# Solaris 2.5.1, 2.6).
# Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4%
OS_VERSION := $(shell uname -r)
EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
check_os_version:
ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),)
$(QUIETLY) >&2 echo "*** This OS is not supported:" `uname -a`; exit 1;
endif
# jvmti.make requires XSLT (J2SE 1.4.x or newer): # jvmti.make requires XSLT (J2SE 1.4.x or newer):
XSLT_CHECK = $(REMOTE) $(RUN.JAVAP) javax.xml.transform.TransformerFactory XSLT_CHECK = $(REMOTE) $(RUN.JAVAP) javax.xml.transform.TransformerFactory
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册