From ff256deb74ca15caf41be4b1ff81c299e54403a6 Mon Sep 17 00:00:00 2001 From: TC Wan Date: Tue, 21 Dec 2010 17:57:54 +0800 Subject: updated makefile and linker file for armdebug support --- AT91SAM7S256/SAM7S256/gcc/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'AT91SAM7S256/SAM7S256/gcc/Makefile') 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 = -- cgit v1.2.3