summaryrefslogtreecommitdiffstats
path: root/examples/api/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/Makefile')
-rw-r--r--examples/api/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/api/Makefile b/examples/api/Makefile
index 4e9b8ea17d..6cffee7465 100644
--- a/examples/api/Makefile
+++ b/examples/api/Makefile
@@ -11,8 +11,12 @@ ifeq ($(ARCH),arm)
LOAD_ADDR = 0x1000000
endif
ifeq ($(ARCH),mips)
+ifdef CONFIG_64BIT
+LOAD_ADDR = 0xffffffff80200000
+else
LOAD_ADDR = 0x80200000
endif
+endif
# Resulting ELF and binary exectuables will be named demo and demo.bin
extra-y = demo
OpenPOWER on IntegriCloud