summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
index febc501e9f6..90d26550b03 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -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