]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - examples/Makefile
net: smc911x: Add pkt_data_pull and pkt_data_push function
[karo-tx-uboot.git] / examples / Makefile
index d63fa703232a92af2069e76fd52a006252650e60..b0a8853661a61dd355428d80b684369029e48902 100644 (file)
@@ -30,8 +30,12 @@ LOAD_ADDR = 0x40000
 endif
 
 ifeq ($(ARCH),arm)
+ifeq ($(BOARD),omap2420h4)
+LOAD_ADDR = 0x80300000
+else
 LOAD_ADDR = 0xc100000
 endif
+endif
 
 ifeq ($(ARCH),mips)
 LOAD_ADDR = 0x80200000 -T mips.lds
@@ -63,8 +67,14 @@ endif
 
 ifeq ($(ARCH),sh)
 LOAD_ADDR = 0x8C000000
+ifeq ($(CPU),sh2)
+BIG_ENDIAN=y
+endif
 endif
 
+ifeq ($(ARCH),sparc)
+LOAD_ADDR = 0x00000000 -L $(gcclibdir) -T sparc.lds
+endif
 
 include $(TOPDIR)/config.mk
 
@@ -73,9 +83,9 @@ SREC  = hello_world.srec
 BIN    = hello_world.bin
 
 ifeq ($(CPU),mpc8xx)
-ELF    = test_burst
-SREC   = test_burst.srec
-BIN    = test_burst.bin
+ELF    += test_burst
+SREC   += test_burst.srec
+BIN    += test_burst.bin
 endif
 
 ifeq ($(ARCH),i386)