summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-03-21 11:11:27 +0000
committerDaniel Drake <dsd@gentoo.org>2008-03-21 11:11:27 +0000
commit8e8a7ea5993fe6026144a8fb147389c7821d6c0c (patch)
tree3605d7f77565628283909f226780632a0676bc2f /eclass
parentversion bump with latest fixes included we had as separate patches; clean up (diff)
downloadgentoo-2-8e8a7ea5993fe6026144a8fb147389c7821d6c0c.tar.gz
gentoo-2-8e8a7ea5993fe6026144a8fb147389c7821d6c0c.tar.bz2
gentoo-2-8e8a7ea5993fe6026144a8fb147389c7821d6c0c.zip
move get_version call to more sensible place, thanks to Jakub Moc and Sok Ann Yap in bug #213978
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-info.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index ec7c27351dc7..68f7129e0da4 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.54 2008/01/23 20:58:08 dsd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.55 2008/03/21 11:11:27 dsd Exp $
#
# Description: This eclass is used as a central eclass for accessing kernel
# related information for sources already installed.
@@ -404,6 +404,9 @@ check_extra_config() {
local config negate die error reworkmodulenames
local soft_errors_count=0 hard_errors_count=0 config_required=0
+ # if we haven't determined the version yet, we need to
+ get_version
+
# Determine if we really need a .config. The only time when we don't need
# one is when all of the CONFIG_CHECK options are prefixed with "~".
for config in ${CONFIG_CHECK}
@@ -425,9 +428,6 @@ check_extra_config() {
require_configured_kernel
fi
- # if we haven't determined the version yet, we need too.
- get_version
-
einfo "Checking for suitable kernel configuration options..."
for config in ${CONFIG_CHECK}