aboutsummaryrefslogtreecommitdiff
path: root/examples/system/childexec
diff options
context:
space:
mode:
Diffstat (limited to 'examples/system/childexec')
-rw-r--r--examples/system/childexec/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/system/childexec/makefile b/examples/system/childexec/makefile
index b1952fc..30229ae 100644
--- a/examples/system/childexec/makefile
+++ b/examples/system/childexec/makefile
@@ -8,7 +8,8 @@ LIBS = -lpsxgpu -lpsxgte -lpsxspu -lpsxetc -lpsxapi -lc
CFLAGS = -g -O2 -fno-builtin -fdata-sections -ffunction-sections
CPPFLAGS = $(CFLAGS) -fno-exceptions
AFLAGS = -g -msoft-float
-LDFLAGS = -g -gc-sections -T $(GCC_BASE)/mipsel-unknown-elf/lib/ldscripts/elf32elmip.x
+LDFLAGS = -g -gc-sections \
+ -T $(GCC_BASE)/$(PREFIX)/lib/ldscripts/elf32elmip.x
LDFLAGS_P = $(LDFLAGS) -Ttext=0x80010000
LDFLAGS_C = $(LDFLAGS) -Ttext=0x80030000