summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-30 07:03:33 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-30 07:03:33 +0000
commit0c3683d33a69e6d44cfc2f3f0b164faaf5c9ded4 (patch)
tree1be83b9b573da7521501e0b297411f7df662a7a4 /eclass
parentInitial import. (diff)
downloadgentoo-2-0c3683d33a69e6d44cfc2f3f0b164faaf5c9ded4.tar.gz
gentoo-2-0c3683d33a69e6d44cfc2f3f0b164faaf5c9ded4.tar.bz2
gentoo-2-0c3683d33a69e6d44cfc2f3f0b164faaf5c9ded4.zip
linux-2.4 fixes for arm
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 75c0a69d96d5..08a36dfd3d2d 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.113 2005/03/17 00:00:15 r3pek Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.114 2005/03/30 07:03:33 vapier Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -288,6 +288,12 @@ install_headers() {
create_ml_includes ${ddir}/asm __i386__:${ddir}/asm-i386 __x86_64__:${ddir}/asm-x86_64
;;
+ arm)
+ dodir ${ddir}/asm
+ cp -ax ${S}/include/asm/* ${D}/${ddir}/asm
+ [[ ! -e ${D}/${ddir}/asm/arch ]] && ln -s arch-ebsa285 ${D}/${ddir}/asm/arch
+ [[ ! -e ${D}/${ddir}/asm/proc ]] && ln -s proc-armv ${D}/${ddir}/asm/proc
+ ;;
*)
dodir ${ddir}/asm
cp -ax ${S}/include/asm/* ${D}/${ddir}/asm