/[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.54 Revision 1.55
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.54 2008/01/23 20:58:08 dsd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.55 2008/03/21 11:11:27 dsd Exp $
4# 4#
5# Description: This eclass is used as a central eclass for accessing kernel 5# Description: This eclass is used as a central eclass for accessing kernel
6# related information for sources already installed. 6# related information for sources already installed.
7# It is vital for linux-mod to function correctly, and is split 7# It is vital for linux-mod to function correctly, and is split
8# out so that any ebuild behaviour "templates" are abstracted out 8# out so that any ebuild behaviour "templates" are abstracted out
402 402
403check_extra_config() { 403check_extra_config() {
404 local config negate die error reworkmodulenames 404 local config negate die error reworkmodulenames
405 local soft_errors_count=0 hard_errors_count=0 config_required=0 405 local soft_errors_count=0 hard_errors_count=0 config_required=0
406 406
407 # if we haven't determined the version yet, we need to
408 get_version
409
407 # Determine if we really need a .config. The only time when we don't need 410 # Determine if we really need a .config. The only time when we don't need
408 # one is when all of the CONFIG_CHECK options are prefixed with "~". 411 # one is when all of the CONFIG_CHECK options are prefixed with "~".
409 for config in ${CONFIG_CHECK} 412 for config in ${CONFIG_CHECK}
410 do 413 do
411 if [[ "${config:0:1}" != "~" ]]; then 414 if [[ "${config:0:1}" != "~" ]]; then
422 return 0 425 return 0
423 fi 426 fi
424 else 427 else
425 require_configured_kernel 428 require_configured_kernel
426 fi 429 fi
427
428 # if we haven't determined the version yet, we need too.
429 get_version
430 430
431 einfo "Checking for suitable kernel configuration options..." 431 einfo "Checking for suitable kernel configuration options..."
432 432
433 for config in ${CONFIG_CHECK} 433 for config in ${CONFIG_CHECK}
434 do 434 do

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

  ViewVC Help
Powered by ViewVC 1.1.20