summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-27 05:22:13 +0000
committerMike Frysinger <vapier@gentoo.org>2008-10-27 05:22:13 +0000
commit8667abaae5935c8e529b93a5dfe1336378123d9b (patch)
treec05e5b4acaf998ec9570528ac09bf6ffc3e520ff /eclass/linux-mod.eclass
parentFixed encoding in ChangeLog (diff)
downloadgentoo-2-8667abaae5935c8e529b93a5dfe1336378123d9b.tar.gz
gentoo-2-8667abaae5935c8e529b93a5dfe1336378123d9b.tar.bz2
gentoo-2-8667abaae5935c8e529b93a5dfe1336378123d9b.zip
use set_arch_to_kernel/set_arch_to_portage rather than managing ARCH ourselves #194380
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass8
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}"
}