[U-Boot-Users] [PATCH] Allow use of ARCH=powerpc when building

Kumar Gala galak at kernel.crashing.org
Mon Mar 31 18:59:27 CEST 2008


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 at kernel.crashing.org>
---

Identical to the patch 'Allow use to use ARCH=powerpc when building', but
this one the subject makes a bit more sense.

 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 4255cf5..46c4125 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
-- 
1.5.4.1





More information about the U-Boot mailing list