/[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.1.1.1 Revision 1.54
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.1.1.1 2005/11/30 09:59:38 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.54 2005/10/22 17:35:39 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.
461linux-mod_pkg_setup() { 461linux-mod_pkg_setup() {
462 linux-info_pkg_setup; 462 linux-info_pkg_setup;
463 check_kernel_built; 463 check_kernel_built;
464 check_modules_supported; 464 check_modules_supported;
465 set_kvobj; 465 set_kvobj;
466 # Commented out with permission from johnm until a fixed version for arches
467 # who intentionally use different kernel and userland compilers can be
468 # introduced - Jason Wever <weeve@gentoo.org>, 23 Oct 2005
469 #check_vermagic; 466 check_vermagic;
470} 467}
471 468
472linux-mod_src_compile() { 469linux-mod_src_compile() {
473 local modulename libdir srcdir objdir i n myARCH="${ARCH}" 470 local modulename libdir srcdir objdir i n myARCH="${ARCH}"
474 ARCH="$(tc-arch-kernel)" 471 ARCH="$(tc-arch-kernel)"

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20