Mercurial > hg > graal-jvmci-8
comparison make/linux/Makefile @ 23070:908b2d7253fc
8074312: Enable hotspot builds on 4.x Linux kernels
Summary: Add "4" to list of allowable versions
Reviewed-by: dholmes, mikael
author | sgehwolf |
---|---|
date | Tue, 10 Mar 2015 21:20:10 -0400 |
parents | 56e7f5560e60 |
children | dd9cc155639c bd33e3fce750 |
comparison
equal
deleted
inserted
replaced
23069:2a55e4998f0d | 23070: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),) |