summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-07-04 18:39:33 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-07-04 18:39:33 +0000
commit8ff9b95314eb18f88b61cc33f20dfaee819661f5 (patch)
tree2803ad152fd83548a402b9c86a3bbaf343e39e76 /eclass/linux-info.eclass
parentAdd patch to fix bug 270487 (diff)
downloadhistorical-8ff9b95314eb18f88b61cc33f20dfaee819661f5.tar.gz
historical-8ff9b95314eb18f88b61cc33f20dfaee819661f5.tar.bz2
historical-8ff9b95314eb18f88b61cc33f20dfaee819661f5.zip
If we need to perform an optional kernel config check, and there are no configured kernel sources present, just warn the user rather than being totally silent.
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r--eclass/linux-info.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 4f770b06bcdc..814b88344553 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.59 2009/03/27 20:13:04 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.60 2009/07/04 18:39:33 robbat2 Exp $
#
# Original author: John Mylchreest <johnm@gentoo.org>
# Maintainer: kernel-misc@gentoo.org
@@ -520,6 +520,12 @@ check_extra_config() {
# if the user has no .config as there is nothing to do. Otherwise
# code later will cause a failure due to missing .config.
if ! linux_config_exists; then
+ ewarn "Unable to check for the following kernel config options due"
+ ewarn "to absence of any configured kernel sources:"
+ for config in ${CONFIG_CHECK}; do
+ ewarn " - ${config#\~}"
+ done
+ ewarn "You're on your own to make sure they are set if needed."
return 0
fi
else