The override keyword is needed for make to take our version over the one
specified on the command line, and remove it from the list of command line
overrides that are passed to submakes.  IMHO, the combination of "export"
and "override" ought to do this automatically, but oh well.

Signed-off-by: Scott Wood <scottw...@freescale.com>
---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index bed9469..f9e7a50 100644
--- a/Makefile
+++ b/Makefile
@@ -134,7 +134,8 @@ unexport CDPATH
 #########################################################################
 
 ifeq ($(ARCH),powerpc)
-ARCH = ppc
+override ARCH = ppc
+MAKEOVERRIDES := $(MAKEOVERRIDES:ARCH%=)
 endif
 
 # The "tools" are needed early, so put this first
-- 
1.6.4.4
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to