/[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.55 Revision 1.56
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.55 2005/10/23 15:25:48 weeve Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.56 2005/12/07 23:10:22 vapier 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.
530 libdir=${libdir:-misc} 530 libdir=${libdir:-misc}
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} 535 cd ${objdir} || die "${objdir} does not exist"
536 insinto ${ROOT}lib/modules/${KV_FULL}/${libdir} 536 insinto ${ROOT}lib/modules/${KV_FULL}/${libdir}
537 doins ${modulename}.${KV_OBJ} 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
542} 542}

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

  ViewVC Help
Powered by ViewVC 1.1.20