From 90c7379b85263a4a03aeda35978646b3951a7270 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Wed, 5 Nov 2008 12:00:19 +0000 Subject: share Module.symvers between all compiled modules, patch from Peter Volkov in bug #237618 --- eclass/linux-mod.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'eclass/linux-mod.eclass') 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 , # Stefan Schweizer @@ -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 -- cgit v1.2.3-65-gdbad