comparison make/linux/Makefile @ 21419:c1bb8028ff63

Support build on Linux 4.
author Roland Schatz <roland.schatz@oracle.com>
date Tue, 19 May 2015 11:54:32 +0200
parents 52b4284cb496
children be896a1983c0
comparison
equal deleted inserted replaced
21418:cba35d171cd1 21419:c1bb8028ff63
230 230
231 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x, 231 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x,
232 # Solaris 2.5.1, 2.6). 232 # Solaris 2.5.1, 2.6).
233 # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. 233 # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
234 234
235 SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 235 SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4%
236 OS_VERSION := $(shell uname -r) 236 OS_VERSION := $(shell uname -r)
237 EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) 237 EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
238 238
239 check_os_version: 239 check_os_version:
240 ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),) 240 ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),)