summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-03-31 11:59:27 -0500
committerWolfgang Denk <wd@denx.de>2008-04-13 23:18:21 -0700
commitf8f9dc98883f66f59eb0601da65808e6b139c87c (patch)
tree2c62c8bcdbfcd912b30b531f2e21228e4a2472e9
parent8af657d2c6d1ca4f2f76973531394d4578ba2ef0 (diff)
downloadu-boot-imx-f8f9dc98883f66f59eb0601da65808e6b139c87c.zip
u-boot-imx-f8f9dc98883f66f59eb0601da65808e6b139c87c.tar.gz
u-boot-imx-f8f9dc98883f66f59eb0601da65808e6b139c87c.tar.bz2
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>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 449a3cc..e56889e 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