Add support for 4.0 kernels
authorMike Pagano <mpagano@gentoo.org>
Mon, 23 Feb 2015 12:42:40 +0000 (12:42 +0000)
committerMike Pagano <mpagano@gentoo.org>
Mon, 23 Feb 2015 12:42:40 +0000 (12:42 +0000)
eclass/ChangeLog
eclass/kernel-2.eclass

index 3d0127f832bdc194a7a18279059eaa8c8a065249..298e02f85f2cc818046a897299df76abede88e3d 100644 (file)
@@ -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)
index 82c15791407c2ef0d7dcce1a1e51949b8d5e63f9..e0bd195efbdb3a625bda210ffaf631a2416cad15 100644 (file)
@@ -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))"