/[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.56 Revision 1.57
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.56 2005/12/07 23:10:22 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.57 2006/02/08 12:49:29 brix 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.
531 srcdir=${srcdir:-${S}} 531 srcdir=${srcdir:-${S}}
532 objdir=${objdir:-${srcdir}} 532 objdir=${objdir:-${srcdir}}
533 533
534 einfo "Installing ${modulename} module" 534 einfo "Installing ${modulename} module"
535 cd ${objdir} || die "${objdir} does not exist" 535 cd ${objdir} || die "${objdir} does not exist"
536 insinto ${ROOT}lib/modules/${KV_FULL}/${libdir} 536 insinto /lib/modules/${KV_FULL}/${libdir}
537 doins ${modulename}.${KV_OBJ} || die "doins ${modulename}.${KV_OBJ} failed" 537 doins ${modulename}.${KV_OBJ} || die "doins ${modulename}.${KV_OBJ} failed"
538 cd ${OLDPWD} 538 cd ${OLDPWD}
539 539
540 generate_modulesd ${objdir}/${modulename} 540 generate_modulesd ${objdir}/${modulename}
541 done 541 done

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20