sh: Fix up uname -m matching for native sh64.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 23 Nov 2007 05:24:25 +0000 (14:24 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:56 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Makefile

index 189d8ef..6d419f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -169,7 +169,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
                                  -e s/arm.*/arm/ -e s/sa110/arm/ \
                                  -e s/s390x/s390/ -e s/parisc64/parisc/ \
                                  -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
-                                 -e s/sh[234].*/sh/ )
+                                 -e s/sh.*/sh/ )
 
 # Cross compiling and selecting different set of gcc/bin-utils
 # ---------------------------------------------------------------------------