Deblob support for 3.X kernels updated
authorMike Pagano <mpagano@gentoo.org>
Mon, 8 Aug 2011 23:14:56 +0000 (23:14 +0000)
committerMike Pagano <mpagano@gentoo.org>
Mon, 8 Aug 2011 23:14:56 +0000 (23:14 +0000)
eclass/kernel-2.eclass

index 14406c289a5eb867806401d70b9d4ff9f8442229..ccacdcca0def4fa7543d6a96275a0272177ba703 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.254 2011/08/08 14:14:15 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.255 2011/08/08 23:14:56 mpagano Exp $
 
 # Description: kernel.eclass rewrite for a clean base regarding the 2.6
 #              series of kernel with back-compatibility for 2.4
@@ -460,6 +460,10 @@ if [[ ${ETYPE} == sources ]]; then
                                DEBLOB_PV="${KV_MAJOR}.${KV_PATCH}"
                        fi
 
+                       if [[ ${KV_MAJOR} -ge 3 ]]; then
+                               DEBLOB_PV="${KV_MAJOR}.${KV_MINOR}"
+                       fi
+
                        DEBLOB_A="deblob-${DEBLOB_PV}"
                        DEBLOB_CHECK_A="deblob-check-${DEBLOB_PV}"
                        DEBLOB_HOMEPAGE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"