summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-01-22 21:05:32 +0000
committerDaniel Drake <dsd@gentoo.org>2008-01-22 21:05:32 +0000
commit74fba58e8e240b14a3c75c68519845aa24fbad85 (patch)
treeb8a2feb9dac37fa6dc10ef4260ca5f40b0a2082f /eclass/linux-mod.eclass
parentRename older ebuilds so that they don't show up as higher than 1.3.2, and add... (diff)
downloadgentoo-2-74fba58e8e240b14a3c75c68519845aa24fbad85.tar.gz
gentoo-2-74fba58e8e240b14a3c75c68519845aa24fbad85.tar.bz2
gentoo-2-74fba58e8e240b14a3c75c68519845aa24fbad85.zip
Don't require a configured kernel to detect kernel version, or if all CONFIG_CHECK items are prefixed with ~
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index 9e2cfe387262..7a94bff9040c 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.77 2007/11/16 06:12:01 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.78 2008/01/22 21:05:32 dsd Exp $
# Description: This eclass is used to interface with linux-info in such a way
# to provide the functionality required and initial functions
@@ -463,6 +463,7 @@ linux-mod_pkg_setup() {
debug-print-function ${FUNCNAME} $*
linux-info_pkg_setup;
+ require_configured_kernel
check_kernel_built;
strip_modulenames;
[[ -n ${MODULE_NAMES} ]] && check_modules_supported