Allow use of ARCH=powerpc when building
authorKumar Gala <galak@kernel.crashing.org>
Mon, 31 Mar 2008 16:59:27 +0000 (11:59 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 14 Apr 2008 06:18:21 +0000 (23:18 -0700)
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>
Makefile

index 449a3cc..e56889e 100644 (file)
--- 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