summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2004-11-28 09:52:13 +0000
committerJohn Mylchreest <johnm@gentoo.org>2004-11-28 09:52:13 +0000
commit5705e427a206e9c963d0869c6b37bc6cc2b16152 (patch)
tree059e2f99efb68c83f324a378aba54c4f7a29ce84 /eclass/linux-mod.eclass
parentMarked ~ppc for bug #72351. (Manifest recommit) (diff)
downloadgentoo-2-5705e427a206e9c963d0869c6b37bc6cc2b16152.tar.gz
gentoo-2-5705e427a206e9c963d0869c6b37bc6cc2b16152.tar.bz2
gentoo-2-5705e427a206e9c963d0869c6b37bc6cc2b16152.zip
Fixing up support for KBUILD_OUTPUT.
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index dff6124c6021..212a5b2a9005 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.4 2004/11/27 11:26:52 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.5 2004/11/28 09:47:31 johnm Exp $
# This eclass provides functions for compiling external kernel modules
# from source.
@@ -48,12 +48,12 @@ update_depmod() {
get_version;
ebegin "Updating module dependencies for ${KV_FULL}"
- if [ -r ${KV_DIR}/System.map ]
+ if [ -r ${KV_OUT_DIR}/System.map ]
then
- depmod -ae -F ${KV_DIR}/System.map -b ${ROOT} -r ${KV_FULL}
+ depmod -ae -F ${KV_OUT_DIR}/System.map -b ${ROOT} -r ${KV_FULL}
else
ewarn
- ewarn "${KV_DIR}/System.map not found."
+ ewarn "${KV_OUT_DIR}/System.map not found."
ewarn "You must manually update the kernel module dependencies using depmod."
ewarn
fi