/[gentoo-x86]/eclass/linux-info.eclass
Gentoo

Diff of /eclass/linux-info.eclass

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

Revision 1.68 Revision 1.69
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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/linux-info.eclass,v 1.68 2009/09/06 23:36:04 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.69 2009/09/06 23:40:48 robbat2 Exp $
4# 4#
5# Original author: John Mylchreest <johnm@gentoo.org> 5# Original author: John Mylchreest <johnm@gentoo.org>
6# Maintainer: kernel-misc@gentoo.org 6# Maintainer: kernel-misc@gentoo.org
7# 7#
8# Please direct your bugs to the current eclass maintainer :) 8# Please direct your bugs to the current eclass maintainer :)
352 352
353# got the jist yet? 353# got the jist yet?
354 354
355kernel_is() { 355kernel_is() {
356 # if we haven't determined the version yet, we need to. 356 # if we haven't determined the version yet, we need to.
357 get_version 357 linux-info_get_any_version
358
358 local operator test value x=0 y=0 z=0 359 local operator test value x=0 y=0 z=0
359 360
360 case ${1} in 361 case ${1} in
361 -lt|lt) operator="-lt"; shift;; 362 -lt|lt) operator="-lt"; shift;;
362 -gt|gt) operator="-gt"; shift;; 363 -gt|gt) operator="-gt"; shift;;
623check_extra_config() { 624check_extra_config() {
624 local config negate die error reworkmodulenames 625 local config negate die error reworkmodulenames
625 local soft_errors_count=0 hard_errors_count=0 config_required=0 626 local soft_errors_count=0 hard_errors_count=0 config_required=0
626 627
627 # if we haven't determined the version yet, we need to 628 # if we haven't determined the version yet, we need to
628 get_version 629 linux-mod_get_any_version
629 630
630 # Determine if we really need a .config. The only time when we don't need 631 # Determine if we really need a .config. The only time when we don't need
631 # one is when all of the CONFIG_CHECK options are prefixed with "~". 632 # one is when all of the CONFIG_CHECK options are prefixed with "~".
632 for config in ${CONFIG_CHECK} 633 for config in ${CONFIG_CHECK}
633 do 634 do

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

  ViewVC Help
Powered by ViewVC 1.1.20