[U-Boot] [PATCH v2] 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 --- * Added ppc -> powerpc per Scott W.
Makefile | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile index 34f10ce..a6b9ba0 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/ppc/powerpc/ \ + -e s/ppc64/powerpc/ \ + -e s/macppc/powerpc/)
HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ sed -e 's/(cygwin).*/cygwin/')

Dear Kumar Gala,
In message 1272385744-15094-1-git-send-email-galak@kernel.crashing.org you wrote:
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
- Added ppc -> powerpc per Scott W.
Makefile | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Kumar Gala
-
Wolfgang Denk