diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-10-27 05:22:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-10-27 05:22:13 +0000 |
commit | 55d8663e3e4a8a9e6da51065bbf08f4e283aa730 (patch) | |
tree | d6478f5147a1a25e72ec754cf1bb4b03fe84c7c7 /eclass | |
parent | pass CROSS_COMPILE=${CHOST}- to build process #194380 (diff) | |
download | historical-55d8663e3e4a8a9e6da51065bbf08f4e283aa730.tar.gz historical-55d8663e3e4a8a9e6da51065bbf08f4e283aa730.tar.bz2 historical-55d8663e3e4a8a9e6da51065bbf08f4e283aa730.zip |
use set_arch_to_kernel/set_arch_to_portage rather than managing ARCH ourselves #194380
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 90b5c92acbc4..2a562283a245 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.83 2008/10/27 05:20:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.84 2008/10/27 05:22:13 vapier Exp $ # Description: This eclass is used to interface with linux-info in such a way # to provide the functionality required and initial functions @@ -495,8 +495,8 @@ strip_modulenames() { linux-mod_src_compile() { debug-print-function ${FUNCNAME} $* - local modulename libdir srcdir objdir i n myARCH="${ARCH}" myABI="${ABI}" - ARCH="$(tc-arch-kernel)" + local modulename libdir srcdir objdir i n myABI="${ABI}" + set_arch_to_kernel ABI="${KERNEL_ABI}" BUILD_TARGETS=${BUILD_TARGETS:-clean module} @@ -540,7 +540,7 @@ linux-mod_src_compile() { fi done - ARCH="${myARCH}" + set_arch_to_portage ABI="${myABI}" } |