diff --git a/make/linux/Makefile b/make/linux/Makefile index 17c1409798dd269d82579c6dce5a04cce844b9ab..e8f2010412ff6bd577c1a49d8c0a341f8b1954c7 100644 --- a/make/linux/Makefile +++ b/make/linux/Makefile @@ -227,20 +227,7 @@ all: @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