summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDaniel Ostrow <dostrow@gentoo.org>2006-01-10 05:37:36 +0000
committerDaniel Ostrow <dostrow@gentoo.org>2006-01-10 05:37:36 +0000
commit32e5636cfa04b9a12a68c67d5b969dc8a636294d (patch)
treea042ad3937d2b8c5675d9425bd4527919d0cce7c /eclass
parentRemove older libgdiplus versions (thanks to libungif going bye bye, and them ... (diff)
downloadgentoo-2-32e5636cfa04b9a12a68c67d5b969dc8a636294d.tar.gz
gentoo-2-32e5636cfa04b9a12a68c67d5b969dc8a636294d.tar.bz2
gentoo-2-32e5636cfa04b9a12a68c67d5b969dc8a636294d.zip
Add support for powerpc tree for linux-headers install.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 87ec7afe2802..46d5c716d26a 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.154 2005/12/21 00:17:54 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.155 2006/01/10 05:37:36 dostrow Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -465,6 +465,14 @@ install_headers() {
[[ ! -e ${D}/${ddir}/asm/arch ]] && ln -sf arch-ebsa285 "${D}"/${ddir}/asm/arch
[[ ! -e ${D}/${ddir}/asm/proc ]] && ln -sf proc-armv "${D}"/${ddir}/asm/proc
;;
+ powerpc)
+ dodir ${ddir}/asm
+ cp -ax "${S}"/include/asm/* ${D}/${ddir}/asm
+ if [[ -e "${S}"/include/asm-ppc ]] ; then
+ dodir ${ddir}/asm-ppc
+ cp -ax "${S}"/include/asm-ppc/* ${D}/${ddir}/asm-ppc
+ fi
+ ;;
*)
dodir ${ddir}/asm
cp -ax "${S}"/include/asm/* ${D}/${ddir}/asm