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
SREC += eepro100_eeprom.srec
endif
-##ifeq ($(BOARD),trab)
-##SREC += trab_fkt.srec
-##BIN += trab_fkt.bin
-##endif
-
OBJS = $(SREC:.srec=.o)
LIB = libstubs.a