summaryrefslogtreecommitdiff
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-imx-8d1f63554b0371d3b30e481ac0aafa8253b515df.zip
u-boot-imx-8d1f63554b0371d3b30e481ac0aafa8253b515df.tar.gz
u-boot-imx-8d1f63554b0371d3b30e481ac0aafa8253b515df.tar.bz2
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 87d5214..f46b123 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/')