summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-03-26 17:47:19 +0000
committerSimon Stelling <blubb@gentoo.org>2006-03-26 17:47:19 +0000
commitdfd11a9e5b68b5db1fc47fd69daa27cda695360a (patch)
treeac78ea54218f58e855a98bcad0fb707c168ed705 /eclass/linux-mod.eclass
parentMark 3.4.1 stable on ia64 (diff)
downloadgentoo-2-dfd11a9e5b68b5db1fc47fd69daa27cda695360a.tar.gz
gentoo-2-dfd11a9e5b68b5db1fc47fd69daa27cda695360a.tar.bz2
gentoo-2-dfd11a9e5b68b5db1fc47fd69daa27cda695360a.zip
set ABI= in src_compile; bug 119012
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index 12c5fc8f636f..ea7c093deb7c 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.61 2006/03/25 16:43:09 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.62 2006/03/26 17:47:19 blubb Exp $
# Description: This eclass is used to interface with linux-info in such a way
# to provide the functionality required and initial functions
@@ -83,7 +83,7 @@
# are deprecated in favor of the ones in linux-info.
# See http://bugs.gentoo.org/show_bug.cgi?id=127506
-inherit eutils linux-info
+inherit eutils linux-info multilib
EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm
IUSE="" # don't put pcmcia here, rather in the ebuilds that actually support pcmcia
@@ -473,8 +473,9 @@ linux-mod_pkg_setup() {
}
linux-mod_src_compile() {
- local modulename libdir srcdir objdir i n myARCH="${ARCH}"
+ local modulename libdir srcdir objdir i n myARCH="${ARCH}" myABI="${ABI}"
ARCH="$(tc-arch-kernel)"
+ ABI="${KERNEL_ABI}"
BUILD_TARGETS=${BUILD_TARGETS:-clean module}
@@ -513,6 +514,7 @@ linux-mod_src_compile() {
done
ARCH="${myARCH}"
+ ABI="${myABI}"
}
linux-mod_src_install() {