/[gentoo-x86]/eclass/linux-mod.eclass
Gentoo

Diff of /eclass/linux-mod.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.6 2004/12/06 18:33:11 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.7 2004/12/06 21:41:39 johnm Exp $
4 4
5# This eclass provides functions for compiling external kernel modules 5# This eclass provides functions for compiling external kernel modules
6# from source. 6# from source.
7 7
8inherit linux-info 8inherit linux-info
130 sourcedir="${sourcedir:-${S}}" 130 sourcedir="${sourcedir:-${S}}"
131 131
132 einfo "Preparing ${modulename} module" 132 einfo "Preparing ${modulename} module"
133 cd ${sourcedir} 133 cd ${sourcedir}
134 emake clean || die Unable to make clean. 134 emake clean || die Unable to make clean.
135 emake ${BUILD_PARAMS} module || die Unable to make ${BUILD_PARAMS} module. 135 emake ${BUILD_PARAMS} ${BUILD_TARGETS:-module} || die Unable to make ${BUILD_PARAMS} module.
136 done 136 done
137 ARCH="${xarch}" 137 ARCH="${xarch}"
138} 138}
139 139
140linux-mod_src_install() { 140linux-mod_src_install() {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20