/[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.65 Revision 1.66
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.65 2006/05/22 09:27:50 genstef Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.66 2006/06/20 19:47:37 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.
88 88
89IUSE="" # don't put pcmcia here, rather in the ebuilds that actually support pcmcia 89IUSE="" # don't put pcmcia here, rather in the ebuilds that actually support pcmcia
90SLOT="0" 90SLOT="0"
91DESCRIPTION="Based on the $ECLASS eclass" 91DESCRIPTION="Based on the $ECLASS eclass"
92RDEPEND="kernel_linux? ( virtual/modutils 92RDEPEND="kernel_linux? ( virtual/modutils
93 pcmcia? ( virtual/pcmcia ) )" 93 pcmcia? ( virtual/pcmcia ) )"
94DEPEND="${RDEPEND} 94DEPEND="${RDEPEND}
95 sys-apps/sed" 95 sys-apps/sed"
96 96
97# eclass utilities 97# eclass utilities
98# ---------------------------------- 98# ----------------------------------
99 99
100check_vermagic() { 100check_vermagic() {
510 die "Unable to run econf ${ECONF_PARAMS}" 510 die "Unable to run econf ${ECONF_PARAMS}"
511 fi 511 fi
512 512
513 emake HOSTCC=${CC_HOSTCC} CC=${CC_CC}\ 513 emake HOSTCC=${CC_HOSTCC} CC=${CC_CC}\
514 ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \ 514 ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \
515 || die "Unable to make \
516 ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}." 515 || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."
517 touch ${srcdir}/.built 516 touch ${srcdir}/.built
518 cd ${OLDPWD} 517 cd ${OLDPWD}
519 fi 518 fi
520 done 519 done
521 520

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

  ViewVC Help
Powered by ViewVC 1.1.20