* Patch by Scott McNutt, 04 Oct 2003:
[oweals/u-boot.git] / examples / Makefile
index 542791b8b838900e580fce0067901d9d080f3f2f..90d26550b03c41f7009b2400d56f80a95e44b425 100644 (file)
@@ -37,6 +37,10 @@ ifeq ($(ARCH),mips)
 LOAD_ADDR = 0x80200000 -T mips.lds
 endif
 
+ifeq ($(ARCH),nios)
+LOAD_ADDR = 0x01000000 -L $(gcclibdir)/m32 -T nios.lds
+endif
+
 include $(TOPDIR)/config.mk
 
 SREC   = hello_world.srec
@@ -69,11 +73,6 @@ ifeq ($(BOARD),oxc)
 SREC   += eepro100_eeprom.srec
 endif
 
-##ifeq ($(BOARD),trab)
-##SREC   += trab_fkt.srec
-##BIN    += trab_fkt.bin
-##endif
-
 OBJS   = $(SREC:.srec=.o)
 
 LIB    = libstubs.a