summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2015-02-23 12:42:40 +0000
committerMike Pagano <mpagano@gentoo.org>2015-02-23 12:42:40 +0000
commit086b4e2c80b0ca7b4ed3b66041f66286f647ad21 (patch)
treea6cda08351dbbf9104198773fc4100a6ba321ee9 /eclass
parentRevert previous commit (SLOT change). Discussed with and signed off by mgorny. (diff)
downloadhistorical-086b4e2c80b0ca7b4ed3b66041f66286f647ad21.tar.gz
historical-086b4e2c80b0ca7b4ed3b66041f66286f647ad21.tar.bz2
historical-086b4e2c80b0ca7b4ed3b66041f66286f647ad21.zip
Add support for 4.0 kernels
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/kernel-2.eclass8
2 files changed, 10 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 3d0127f832bd..298e02f85f2c 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1551 2015/02/23 10:59:44 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1552 2015/02/23 12:42:40 mpagano Exp $
+
+ 23 Feb 2015; Mike Pagano <mpagano@gentoo.org> kernel-2.eclass:
+ Add support for 4.0 kernels
23 Feb 2015; Pacho Ramos <pacho@gentoo.org> gnome2.eclass:
Remove USE_EINSTALL (#482082)
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 82c15791407c..e0bd195efbdb 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.298 2015/02/13 01:30:50 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.299 2015/02/23 12:42:40 mpagano Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -374,6 +374,8 @@ detect_version() {
if [[ ${RELEASETYPE} == -rc ]] || [[ ${RELEASETYPE} == -pre ]]; then
if [[ ${KV_MAJOR}${KV_PATCH} -eq 30 ]]; then
OKV="2.6.39"
+ elif [[ ${KV_MAJOR}${KV_PATCH} -eq 40 ]]; then
+ OKV="3.19"
else
KV_PATCH_ARR=(${KV_PATCH//\./ })
OKV="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))"
@@ -392,6 +394,8 @@ detect_version() {
if [[ ${RELEASETYPE} == -rc-git ]]; then
if [[ ${KV_MAJOR}${KV_PATCH} -eq 30 ]]; then
OKV="2.6.39"
+ elif [[ ${KV_MAJOR}${KV_PATCH} -eq 40 ]]; then
+ OKV="2.19"
else
KV_PATCH_ARR=(${KV_PATCH//\./ })
OKV="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))"