/[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.51 Revision 1.52
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.51 2005/08/22 12:12:10 brix Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.52 2005/09/22 14:13:36 johnm Exp $
4 4
5# Description: This eclass is used to interface with linux-info in such a way 5# Description: This eclass is used to interface with linux-info in such a way
6# to provide the functionality required and initial functions 6# to provide the functionality required and initial functions
7# required to install external modules against a kernel source 7# required to install external modules against a kernel source
8# tree. 8# tree.
424 set_kvobj; 424 set_kvobj;
425} 425}
426 426
427linux-mod_src_compile() { 427linux-mod_src_compile() {
428 local modulename libdir srcdir objdir i n myARCH="${ARCH}" 428 local modulename libdir srcdir objdir i n myARCH="${ARCH}"
429 unset ARCH 429 ARCH="$(tc-arch-kernel)"
430 430
431 BUILD_TARGETS=${BUILD_TARGETS:-clean module} 431 BUILD_TARGETS=${BUILD_TARGETS:-clean module}
432 432
433 for i in ${MODULE_IGNORE} 433 for i in ${MODULE_IGNORE}
434 do 434 do

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

  ViewVC Help
Powered by ViewVC 1.1.20