/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.252 Revision 1.253
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.252 2011/06/03 13:07:33 mpagano Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.253 2011/06/03 20:20:23 mpagano Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Original author: John Mylchreest <johnm@gentoo.org> 8# Original author: John Mylchreest <johnm@gentoo.org>
152 152
153 KV_MAJOR=$(get_version_component_range 1 ${OKV}) 153 KV_MAJOR=$(get_version_component_range 1 ${OKV})
154 154
155 # if KV_MAJOR >= 3, then we have no more KV_MINOR 155 # if KV_MAJOR >= 3, then we have no more KV_MINOR
156 if [[ ${KV_MAJOR} -lt 3 ]]; then 156 if [[ ${KV_MAJOR} -lt 3 ]]; then
157 KV_MINOR=$(get_version_component_range 2 ) 157 KV_MINOR=$(get_version_component_range 2 ${OKV})
158 KV_PATCH=$(get_version_component_range 3 ${OKV}) 158 KV_PATCH=$(get_version_component_range 3 ${OKV})
159 if [[ ${KV_MAJOR}${KV_MINOR}${KV_PATCH} -ge 269 ]]; then 159 if [[ ${KV_MAJOR}${KV_MINOR}${KV_PATCH} -ge 269 ]]; then
160 KV_EXTRA=$(get_version_component_range 4- ${OKV}) 160 KV_EXTRA=$(get_version_component_range 4- ${OKV})
161 KV_EXTRA=${KV_EXTRA/[-_]*} 161 KV_EXTRA=${KV_EXTRA/[-_]*}
162 else 162 else

Legend:
Removed from v.1.252  
changed lines
  Added in v.1.253

  ViewVC Help
Powered by ViewVC 1.1.20