aboutsummaryrefslogtreecommitdiff
path: root/examples/system/console/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/system/console/makefile')
-rw-r--r--examples/system/console/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/system/console/makefile b/examples/system/console/makefile
index 4e0456e..1ee638f 100644
--- a/examples/system/console/makefile
+++ b/examples/system/console/makefile
@@ -32,7 +32,7 @@ AFLAGS = -g -msoft-float
# Linker flags
LDFLAGS = -g -Ttext=0x80010000 -gc-sections \
- -T $(GCC_BASE)/mipsel-unknown-elf/lib/ldscripts/elf32elmip.x
+ -T $(GCC_BASE)/$(PREFIX)/lib/ldscripts/elf32elmip.x
all: $(OFILES)
$(LD) $(LDFLAGS) $(LIBDIRS) $(OFILES) $(LIBS) -o $(TARGET)