/[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.59 Revision 1.60
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.59 2009/03/27 20:13:04 loki_val Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.60 2009/07/04 18:39:33 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 :)
518 if [[ ${config_required} == 0 ]]; then 518 if [[ ${config_required} == 0 ]]; then
519 # In the case where we don't require a .config, we can now bail out 519 # In the case where we don't require a .config, we can now bail out
520 # if the user has no .config as there is nothing to do. Otherwise 520 # if the user has no .config as there is nothing to do. Otherwise
521 # code later will cause a failure due to missing .config. 521 # code later will cause a failure due to missing .config.
522 if ! linux_config_exists; then 522 if ! linux_config_exists; then
523 ewarn "Unable to check for the following kernel config options due"
524 ewarn "to absence of any configured kernel sources:"
525 for config in ${CONFIG_CHECK}; do
526 ewarn " - ${config#\~}"
527 done
528 ewarn "You're on your own to make sure they are set if needed."
523 return 0 529 return 0
524 fi 530 fi
525 else 531 else
526 require_configured_kernel 532 require_configured_kernel
527 fi 533 fi

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

  ViewVC Help
Powered by ViewVC 1.1.20