]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - examples/Makefile
SPARC: Added generic support for SPARC architecture.
[people/ms/u-boot.git] / examples / Makefile
index d63fa703232a92af2069e76fd52a006252650e60..66b354daaf67d82dd4893f59a7050f2158afa79d 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
@@ -65,6 +69,9 @@ ifeq ($(ARCH),sh)
 LOAD_ADDR = 0x8C000000
 endif
 
+ifeq ($(ARCH),sparc)
+LOAD_ADDR = 0x00000000 -L $(gcclibdir) -T sparc.lds
+endif
 
 include $(TOPDIR)/config.mk
 
@@ -73,9 +80,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)