]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sh: Fix build on the target
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 15 Jun 2010 22:59:17 +0000 (07:59 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 28 Jun 2010 02:58:33 +0000 (11:58 +0900)
SH fails building on the target.
This supports this.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Makefile

index 87d5214a2d3992ab94d54ab70d7d9adcb6bd94d4..f46b1239fa3d10e4fc67733537ad2cb4aabae0c2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,8 @@ HOSTARCH := $(shell uname -m | \
            -e s/sa110/arm/ \
            -e s/ppc64/powerpc/ \
            -e s/ppc/powerpc/ \
-           -e s/macppc/powerpc/)
+           -e s/macppc/powerpc/\
+           -e s/sh.*/sh/)
 
 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
            sed -e 's/\(cygwin\).*/cygwin/')