Build: add debugging in SITL build

This commit is contained in:
Andrew Tridgell 2012-12-18 13:35:15 +11:00
parent 448fc6719f
commit 975506c840

View File

@ -252,8 +252,8 @@ ASOPTS = -x assembler-with-cpp
LISTOPTS = -adhlns=$(@:.o=.lst)
ifeq ($(HAL_BOARD),HAL_BOARD_AVR_SITL)
CPUFLAGS = -D_GNU_SOURCE
CPULDFLAGS =
CPUFLAGS = -D_GNU_SOURCE -g
CPULDFLAGS = -g
else
CPUFLAGS = -mmcu=$(MCU) -mcall-prologues
CPULDFLAGS = -Wl,-m,avr6