From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Date: Tue, 15 Jun 2010 22:59:17 +0000 (+0900)
Subject: sh: Fix build on the target
X-Git-Tag: v2025.01-rc5-pxa1908~20206^2~13^2~3
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/gitweb.css?a=commitdiff_plain;h=8d1f63554b0371d3b30e481ac0aafa8253b515df;p=u-boot.git

sh: Fix build on the target

SH fails building on the target.
This supports this.

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

diff --git a/Makefile b/Makefile
index 87d5214a2d..f46b1239fa 100644
--- 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/')