changeset 8947:5af8ec63c21c jdk8u222-b00

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
author andrew
date Fri, 15 Mar 2019 17:22:25 +0000
parents a9b47ed264ce
children 9ee244aee077 ec3f2b2a054d
files make/linux/Makefile
diffstat 1 files changed, 1 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/Makefile	Thu Mar 14 01:13:45 2019 +0000
+++ b/make/linux/Makefile	Fri Mar 15 17:22:25 2019 +0000
@@ -227,20 +227,7 @@
 	@echo "  $(TARGETS_SHARK)"
 	@echo "  $(TARGETS_MINIMAL1)"
 
-checks: check_os_version 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
+checks: check_j2se_version
 
 # jvmti.make requires XSLT (J2SE 1.4.x or newer):
 XSLT_CHECK	= $(REMOTE) $(RUN.JAVAP) javax.xml.transform.TransformerFactory