no one uses tc-endian() so just cut it ... people should be handling endian in the...
authorMike Frysinger <vapier@gentoo.org>
Sun, 7 Jan 2007 11:39:08 +0000 (11:39 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 7 Jan 2007 11:39:08 +0000 (11:39 +0000)
eclass/toolchain-funcs.eclass

index baf0a570e58f3f02879f059d8a31f52531bbddee..1092b08bdafa2d88b680c051c520040150c2ae22 100644 (file)
@@ -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.63 2006/12/16 10:31:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.64 2007/01/07 11:39:08 vapier Exp $
 #
 # Author: Toolchain Ninjas <toolchain@gentoo.org>
 #
@@ -152,31 +152,6 @@ tc-arch-kernel() {
 tc-arch() {
        tc-ninja_magic_to_arch portage $@
 }
-tc-endian() {
-       local host=$1
-       [[ -z ${host} ]] && host=${CTARGET:-${CHOST}}
-       host=${host%%-*}
-
-       case ${host} in
-               alpha*)         echo big;;
-               arm*b*)         echo big;;
-               arm*)           echo little;;
-               cris*)          echo little;;
-               hppa*)          echo big;;
-               i?86*)          echo little;;
-               ia64*)          echo little;;
-               m68*)           echo big;;
-               mips*l*)        echo little;;
-               mips*)          echo big;;
-               powerpc*)       echo big;;
-               s390*)          echo big;;
-               sh*b*)          echo big;;
-               sh*)            echo little;;
-               sparc*)         echo big;;
-               x86_64*)        echo little;;
-               *)                      echo wtf;;
-       esac
-}
 
 # Returns the version as by `$CC -dumpversion`
 gcc-fullversion() {