summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDaniel Ostrow <dostrow@gentoo.org>2005-07-02 04:37:17 +0000
committerDaniel Ostrow <dostrow@gentoo.org>2005-07-02 04:37:17 +0000
commit765b5872daa107a21f4f3c4110578d5da3415fff (patch)
treeff79991256932cd0dc733521e7485ded4527b3d8 /eclass
parentDon't append to CFLAGS in global scope #56409 (diff)
downloadgentoo-2-765b5872daa107a21f4f3c4110578d5da3415fff.tar.gz
gentoo-2-765b5872daa107a21f4f3c4110578d5da3415fff.tar.bz2
gentoo-2-765b5872daa107a21f4f3c4110578d5da3415fff.zip
Changes for ppc64 64bit kernel with a 32bit userland and multilib.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass11
1 files changed, 10 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 4c16ce7a2d43..e0fb4fff2a50 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.130 2005/06/30 18:32:45 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.131 2005/07/02 04:37:17 dostrow Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -431,6 +431,15 @@ install_headers() {
create_ml_includes ${ddir}/asm __i386__:${ddir}/asm-i386 __x86_64__:${ddir}/asm-x86_64
;;
+ ppc64)
+ dodir ${ddir}/asm-ppc
+ cp -ax ${S}/include/asm-ppc/* ${D}/${ddir}/asm-ppc
+
+ dodir ${ddir}/asm-ppc64
+ cp -ax ${S}/include/asm-ppc64/* ${D}/${ddir}/asm-ppc64
+
+ create_ml_includes ${ddir}/asm !__powerpc64__:${ddir}/asm-ppc __powerpc64__:${ddir}/asm-ppc64
+ ;;
arm)
dodir ${ddir}/asm
cp -ax ${S}/include/asm/* ${D}/${ddir}/asm