[U-Boot] [PATCH-OMAP3 v2] OMAP3: Update ARM's if then else logic in examples Makefile

dirk.behme at googlemail.com dirk.behme at googlemail.com
Tue Nov 11 17:51:25 CET 2008


Update ARM's if then else logic.

Signed-off-by: Dirk Behme <dirk.behme at gmail.com>

---

Changes in v2:

- Make make happy regaring if then else logic "each if can only have one else".
Don't take examples from mailing list without testing ;)

Version v2 makes previous version v1 of this patch obsolete.

 examples/Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

Index: u-boot-arm/examples/Makefile
===================================================================
--- u-boot-arm.orig/examples/Makefile
+++ u-boot-arm/examples/Makefile
@@ -30,12 +30,14 @@ LOAD_ADDR = 0x40000
 endif
 
 ifeq ($(ARCH),arm)
-LOAD_ADDR = 0xc100000
 ifeq ($(BOARD),omap2420h4)
 LOAD_ADDR = 0x80300000
-endif
+else
 ifeq ($(CPU),omap3)
 LOAD_ADDR = 0x80300000
+else
+LOAD_ADDR = 0xc100000
+endif
 endif
 endif
 


More information about the U-Boot mailing list