make/linux/Makefile

changeset 7874
908b2d7253fc
parent 6538
56e7f5560e60
child 7994
04ff2f6cd0eb
child 8200
bd33e3fce750
equal deleted inserted replaced
7873:2a55e4998f0d 7874:908b2d7253fc
1 # 1 #
2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
227 227
228 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x, 228 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x,
229 # Solaris 2.5.1, 2.6). 229 # Solaris 2.5.1, 2.6).
230 # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. 230 # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
231 231
232 SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 232 SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4%
233 OS_VERSION := $(shell uname -r) 233 OS_VERSION := $(shell uname -r)
234 EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) 234 EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
235 235
236 check_os_version: 236 check_os_version:
237 ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),) 237 ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),)

mercurial