]> git.sur5r.net Git - u-boot/commitdiff
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 449a3cc66836586b9c9815665df60da67f2026e5..e56889e22834e9442a41d3800f0ae556388239af 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