diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2004-10-14 03:27:38 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2004-10-14 03:27:38 +0000 |
commit | 25a867fe9ba46bbc091205f5cdd38744d68edc3e (patch) | |
tree | 34f453be8abfa0dea1bb03a6133bb05317d08395 /eclass/matrox.eclass | |
parent | Endianess bug fixed (Manifest recommit) (diff) | |
download | gentoo-2-25a867fe9ba46bbc091205f5cdd38744d68edc3e.tar.gz gentoo-2-25a867fe9ba46bbc091205f5cdd38744d68edc3e.tar.bz2 gentoo-2-25a867fe9ba46bbc091205f5cdd38744d68edc3e.zip |
Add set_arch_to_kernel() and set_arch_to_portage() so portage's ARCH variable doesn't screw up the kernel module build.
Diffstat (limited to 'eclass/matrox.eclass')
-rw-r--r-- | eclass/matrox.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/matrox.eclass b/eclass/matrox.eclass index 5899744cf793..1357bdab6f2b 100644 --- a/eclass/matrox.eclass +++ b/eclass/matrox.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/matrox.eclass,v 1.9 2004/10/09 00:58:42 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.10 2004/10/14 03:27:38 spyderous Exp $ # # Author: Donnie Berkholz <spyderous@gentoo.org> # @@ -68,6 +68,8 @@ matrox_pkg_setup() { } matrox_src_compile() { + # 2.6 builds use the ARCH variable + set_arch_to_kernel export PARHELIUX="${PWD}/src" cd ${S}/src/kernel/parhelia ln -sf ../../../kernel/mtx_parhelia.o . @@ -75,6 +77,7 @@ matrox_src_compile() { # Can't use emake here make clean make || die "make failed" + set_arch_to_portage } matrox_base_src_install() { |