diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-11-05 12:00:19 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-11-05 12:00:19 +0000 |
commit | 5f4aa22af09f0c65054b6ef58493bc48f0d9bf1b (patch) | |
tree | ac66ed159b0b727ea05e19ba6945773d47789bd0 /eclass | |
parent | Clean out GLSA'd ebuild (diff) | |
download | historical-5f4aa22af09f0c65054b6ef58493bc48f0d9bf1b.tar.gz historical-5f4aa22af09f0c65054b6ef58493bc48f0d9bf1b.tar.bz2 historical-5f4aa22af09f0c65054b6ef58493bc48f0d9bf1b.zip |
share Module.symvers between all compiled modules, patch from Peter Volkov in bug #237618
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 9a510ec2f3af..f4c460b51c9a 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.92 2008/11/02 03:02:53 gengor Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.93 2008/11/05 12:00:19 dsd Exp $ # Author(s): John Mylchreest <johnm@gentoo.org>, # Stefan Schweizer <genstef@gentoo.org> @@ -614,6 +614,7 @@ linux-mod_src_compile() { BUILD_TARGETS=${BUILD_TARGETS:-clean module} strip_modulenames; cd "${S}" + touch Module.symvers for i in ${MODULE_NAMES} do unset libdir srcdir objdir @@ -628,6 +629,7 @@ linux-mod_src_compile() { if [ ! -f "${srcdir}/.built" ]; then cd ${srcdir} + ln -s "${S}"/Module.symvers Module.symvers einfo "Preparing ${modulename} module" if [[ -n ${ECONF_PARAMS} ]] then |