From: Kumar Gala <galak@kernel.crashing.org>
Date: Mon, 31 Mar 2008 16:59:27 +0000 (-0500)
Subject: Allow use of ARCH=powerpc when building
X-Git-Tag: v2025.01-rc5-pxa1908~22287
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=f8f9dc98883f66f59eb0601da65808e6b139c87c;p=u-boot.git

Allow use of ARCH=powerpc when building

The linux kernel is now mostly ARCH=powerpc, so to make life easier
allow use to use ARCH=powerpc and convert it to ARCH=ppc.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---

diff --git a/Makefile b/Makefile
index 449a3cc668..e56889e228 100644
--- a/Makefile
+++ b/Makefile
@@ -123,6 +123,10 @@ unexport CDPATH
 
 #########################################################################
 
+ifeq ($(ARCH),powerpc)
+ARCH = ppc
+endif
+
 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
 
 # load ARCH, BOARD, and CPU configuration