From: Kumar Gala Date: Wed, 28 Apr 2010 07:52:02 +0000 (-0500) Subject: Fixup native builds on powerpc X-Git-Tag: v2010.06-rc1~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d0179083a9c9e12c8c5400b107156c14c7da1222;p=oweals%2Fu-boot.git 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 --- diff --git a/Makefile b/Makefile index 2d96574154..82cbbf458a 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/')