/[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.86 Revision 1.89
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.86 2008/10/31 22:24:55 dsd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.89 2008/10/31 23:43:48 gengor Exp $
4 4
5# Author(s): John Mylchreest <johnm@gentoo.org>, 5# Author(s): John Mylchreest <johnm@gentoo.org>,
6# Stefan Schweizer <genstef@gentoo.org> 6# Stefan Schweizer <genstef@gentoo.org>
7# Maintainer: kernel-misc@gentoo.org 7# Maintainer: kernel-misc@gentoo.org
8# 8#
135EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_postrm 135EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_postrm
136 136
137IUSE="kernel_linux" 137IUSE="kernel_linux"
138SLOT="0" 138SLOT="0"
139DESCRIPTION="Based on the $ECLASS eclass" 139DESCRIPTION="Based on the $ECLASS eclass"
140# Restrict distributed compile of kernel modules bug #167844
141RESTRICT="distcc"
140RDEPEND="kernel_linux? ( virtual/modutils )" 142RDEPEND="kernel_linux? ( virtual/modutils )"
141DEPEND="${RDEPEND} 143DEPEND="${RDEPEND}
142 sys-apps/sed" 144 sys-apps/sed"
143 145
144# eclass utilities 146# eclass utilities
646 LDFLAGS=\"$(get_abi_LDFLAGS)\" \ 648 LDFLAGS=\"$(get_abi_LDFLAGS)\" \
647 ${BUILD_FIXES} \ 649 ${BUILD_FIXES} \
648 ${BUILD_PARAMS} \ 650 ${BUILD_PARAMS} \
649 ${BUILD_TARGETS} " \ 651 ${BUILD_TARGETS} " \
650 || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}" 652 || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"
653 cd ${OLDPWD}
651 touch ${srcdir}/.built 654 touch ${srcdir}/.built
652 cd ${OLDPWD}
653 fi 655 fi
654 done 656 done
655 657
656 set_arch_to_portage 658 set_arch_to_portage
657 ABI="${myABI}" 659 ABI="${myABI}"

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.89

  ViewVC Help
Powered by ViewVC 1.1.20