aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-04-28 02:52:02 -0500
committerWolfgang Denk <wd@denx.de>2010-05-07 00:00:01 +0200
commitd0179083a9c9e12c8c5400b107156c14c7da1222 (patch)
treef13e0c2b6c7749ab6c2d9b2f004dbea43658aaed /Makefile
parent65d342541e78ab9a22bf480cc4fe2f659f94bad4 (diff)
downloadu-boot-d0179083a9c9e12c8c5400b107156c14c7da1222.zip
u-boot-d0179083a9c9e12c8c5400b107156c14c7da1222.tar.gz
u-boot-d0179083a9c9e12c8c5400b107156c14c7da1222.tar.bz2
Fixup native builds on powerpc
When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the same way. We use HOSTARCH == ARCH to determine if a build is native. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2d96574..82cbbf4 100644
--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,9 @@ HOSTARCH := $(shell uname -m | \
-e s/sun4u/sparc64/ \
-e s/arm.*/arm/ \
-e s/sa110/arm/ \
- -e s/powerpc/ppc/ \
- -e s/ppc64/ppc/ \
- -e s/macppc/ppc/)
+ -e s/ppc64/powerpc/ \
+ -e s/ppc/powerpc/ \
+ -e s/macppc/powerpc/)
HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
sed -e 's/\(cygwin\).*/cygwin/')