aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2010-06-16 07:59:17 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2010-06-28 11:58:33 +0900
commit8d1f63554b0371d3b30e481ac0aafa8253b515df (patch)
treeb6345672bee3d03ec3b56820010d992314f76af2 /Makefile
parente5ed138a23923ebe61843244748d98d3dbc04777 (diff)
downloadu-boot-midas-8d1f63554b0371d3b30e481ac0aafa8253b515df.tar.gz
u-boot-midas-8d1f63554b0371d3b30e481ac0aafa8253b515df.tar.bz2
u-boot-midas-8d1f63554b0371d3b30e481ac0aafa8253b515df.zip
sh: Fix build on the target
SH fails building on the target. This supports this. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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/')