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
commit3f4f9de9fc72dd76f073ffb05bab90e258cec12a (patch)
treea5203a8f59fc0b4fefdc41b575e94b58993d7206 /eclass
parentDon't append to CFLAGS in global scope #56409 (diff)
downloadhistorical-3f4f9de9fc72dd76f073ffb05bab90e258cec12a.tar.gz
historical-3f4f9de9fc72dd76f073ffb05bab90e258cec12a.tar.bz2
historical-3f4f9de9fc72dd76f073ffb05bab90e258cec12a.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