diff options
author | Christian Heim <phreak@gentoo.org> | 2007-10-03 12:55:18 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-10-03 12:55:18 +0000 |
commit | 18240b2bcda2812eeacfaf698f995e158a9d86bc (patch) | |
tree | 59530a9d735dbe59bea4e8dddcd9b4148b61351c /eclass/linux-mod.eclass | |
parent | kernel related eclasses are maintained by kernel-misc@gentoo.org. (diff) | |
download | historical-18240b2bcda2812eeacfaf698f995e158a9d86bc.tar.gz historical-18240b2bcda2812eeacfaf698f995e158a9d86bc.tar.bz2 historical-18240b2bcda2812eeacfaf698f995e158a9d86bc.zip |
Change to ${S} before starting the module build (see #192549 with thanks to Elias Probst <mail at eliasprobst.eu>).
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 5d459313271d..27ec2eab8130 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.75 2007/10/03 12:53:10 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.76 2007/10/03 12:55:18 phreak Exp $ # Description: This eclass is used to interface with linux-info in such a way # to provide the functionality required and initial functions @@ -491,6 +491,7 @@ linux-mod_src_compile() { BUILD_TARGETS=${BUILD_TARGETS:-clean module} strip_modulenames; + cd "${S}" for i in ${MODULE_NAMES} do unset libdir srcdir objdir |