From: John Mylchreest Date: Mon, 6 Dec 2004 21:41:39 +0000 (+0000) Subject: Adding support for BUILD_TARGETS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f729c04f8953f3f52f3bfec43f4e0371e0f280a7;p=gentoo.git Adding support for BUILD_TARGETS --- diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 83b1a9cd537a..bffb1205ea75 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.6 2004/12/06 18:33:11 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.7 2004/12/06 21:41:39 johnm Exp $ # This eclass provides functions for compiling external kernel modules # from source. @@ -132,7 +132,7 @@ linux-mod_src_compile() { einfo "Preparing ${modulename} module" cd ${sourcedir} emake clean || die Unable to make clean. - emake ${BUILD_PARAMS} module || die Unable to make ${BUILD_PARAMS} module. + emake ${BUILD_PARAMS} ${BUILD_TARGETS:-module} || die Unable to make ${BUILD_PARAMS} module. done ARCH="${xarch}" }