comparison make/linux/Makefile @ 3822:ca1f1753c866

7072341: enable hotspot builds on Linux 3.0 Summary: Add "3" to list of allowable versions Reviewed-by: kamg, chrisphi
author andrew
date Thu, 28 Jul 2011 14:10:21 -0400
parents d6cdc6c77582
children da0999c4b733
comparison
equal deleted inserted replaced
3821:8107273fd204 3822:ca1f1753c866
228 228
229 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x, 229 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x,
230 # Solaris 2.5.1, 2.6). 230 # Solaris 2.5.1, 2.6).
231 # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. 231 # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
232 232
233 SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7% 233 SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3%
234 OS_VERSION := $(shell uname -r) 234 OS_VERSION := $(shell uname -r)
235 EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) 235 EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
236 236
237 check_os_version: 237 check_os_version:
238 ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),) 238 ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),)