summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-15 20:21:59 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-15 20:21:59 +0000
commit8a32d8e1ad1291be20655d702e97fcf1bc04a750 (patch)
treecdd94d3429c18f9da40fc12252691f40849d7d68
parentbfin uses uclibc (diff)
downloadgentoo-2-8a32d8e1ad1291be20655d702e97fcf1bc04a750.tar.gz
gentoo-2-8a32d8e1ad1291be20655d702e97fcf1bc04a750.tar.bz2
gentoo-2-8a32d8e1ad1291be20655d702e97fcf1bc04a750.zip
add support for embedded arches blackfin/nios2
-rw-r--r--eclass/toolchain-funcs.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index f37867ac1ab8..f563b72abce0 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.51 2006/01/09 04:35:14 dostrow Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.52 2006/01/15 20:21:59 vapier Exp $
#
# Author: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -96,12 +96,15 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; }
case ${host} in
alpha*) echo alpha;;
arm*) echo arm;;
+ bfin*) ninj bfin blackfin;;
cris*) echo cris;;
hppa*) ninj parisc hppa;;
i?86*) ninj i386 x86;;
ia64*) echo ia64;;
m68*) echo m68k;;
mips*) echo mips;;
+ nios2*) echo nios2;;
+ nios*) echo nios;;
powerpc*)
# Starting with linux-2.6.15, the 'ppc' and 'ppc64' trees
# have been unified into simply 'powerpc'