summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-01-15 21:19:02 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-01-15 21:19:02 +0000
commit254b23e46c760b92490f39c277182a41a297b291 (patch)
tree93db6670914be37ae1be68fc157bfe7f29986e06 /eclass/linux-mod.eclass
parentVersion bump #78102. (diff)
downloadhistorical-254b23e46c760b92490f39c277182a41a297b291.tar.gz
historical-254b23e46c760b92490f39c277182a41a297b291.tar.bz2
historical-254b23e46c760b92490f39c277182a41a297b291.zip
Added support for CONFIG_CHECK=@OPTION:module which removes modules from MODULE_NAMES if the support is already in the kernel
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 4067df8af3e3..8b9ec24893e2 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.18 2005/01/15 20:40:14 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.19 2005/01/15 21:19:02 johnm Exp $
# Description: This eclass is used to interface with linux-info in such a way
# to provide the functionality required and initial functions
@@ -302,6 +302,7 @@ linux-mod_src_compile() {
local modulename libdir srcdir objdir i n
BUILD_TARGETS=${BUILD_TARGETS:-clean module}
+ MODULE_NAMES=${MODULE_NAMES//${MODULE_IGNORE}}
for i in ${MODULE_NAMES}
do