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
commit079ca2612cb8730e8e67ee0e93ba11c4492d41b8 (patch)
tree24d8b29f457119c7ed07f2d97482392071991c59 /eclass/linux-mod.eclass
parentRename older ebuilds so that they don't show up as higher than 1.3.2, and add... (diff)
downloadhistorical-079ca2612cb8730e8e67ee0e93ba11c4492d41b8.tar.gz
historical-079ca2612cb8730e8e67ee0e93ba11c4492d41b8.tar.bz2
historical-079ca2612cb8730e8e67ee0e93ba11c4492d41b8.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