aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/SAM7S256/gcc/Makefile
diff options
context:
space:
mode:
authorTC Wan2010-12-21 17:57:54 +0800
committerTC Wan2010-12-21 17:57:54 +0800
commitff256deb74ca15caf41be4b1ff81c299e54403a6 (patch)
tree5385b0b62a13721c22da8dba44027c9f0ad9872f /AT91SAM7S256/SAM7S256/gcc/Makefile
parent7eb731a862755755f0d6dc87d7b4c1357008c3d4 (diff)
updated makefile and linker file for armdebug support
Diffstat (limited to 'AT91SAM7S256/SAM7S256/gcc/Makefile')
-rw-r--r--AT91SAM7S256/SAM7S256/gcc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/AT91SAM7S256/SAM7S256/gcc/Makefile b/AT91SAM7S256/SAM7S256/gcc/Makefile
index 7ad3156..39163f6 100644
--- a/AT91SAM7S256/SAM7S256/gcc/Makefile
+++ b/AT91SAM7S256/SAM7S256/gcc/Makefile
@@ -1,4 +1,5 @@
BASE = ../..
+DBGDIR = $(BASE)/armdebug/Debugger
SRCDIR = $(BASE)/Source
CPUINCDIR = $(BASE)/SAM7S256/Include
@@ -7,7 +8,7 @@ CUSTOM_FIRMWAREVERSION = $(GIT_VERSION)
TARGET = nxt_firmware
-ARM_SOURCES =
+ARM_SOURCES =
THUMB_SOURCES = c_button.c c_cmd.c c_comm.c c_display.c c_input.c c_ioctrl.c \
c_loader.c c_lowspeed.c c_output.c c_sound.c c_ui.c \
d_bt.c d_button.c d_display.c d_hispeed.c d_input.c \
@@ -17,13 +18,13 @@ THUMB_SOURCES = c_button.c c_cmd.c c_comm.c c_display.c c_input.c c_ioctrl.c \
errno.c sbrk.c strtod.c sscanf.c \
Cstartup_SAM7.c
-ASM_ARM_SOURCE = Cstartup.S
+ASM_ARM_SOURCE = Cstartup.S undef_handler.S debug_stub.S debug_comm.S
ASM_THUMB_SOURCE =
vpath %.c $(SRCDIR)
vpath %.c $(CPUINCDIR)
vpath %.c lib
-vpath %.S $(CPUINCDIR)
+vpath %.S $(CPUINCDIR) $(DBGDIR)
INCLUDES =