Compile assembly files with -DDEBUG flag

Change-Id: Ic6cf19402a0936161baf6b91bf75d64d95269a3c
This commit is contained in:
Sandrine Bailleux 2014-02-11 13:31:33 +00:00 committed by Dan Handley
parent c3810c83aa
commit df64a55b3a
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ INCLUDES += -Ilib/include/ \
${PLAT_INCLUDES}
ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \
-mgeneral-regs-only -D__ASSEMBLY__ ${INCLUDES}
-mgeneral-regs-only -D__ASSEMBLY__ ${INCLUDES} \
-DDEBUG=${DEBUG}
CFLAGS := -nostdinc -pedantic -ffreestanding -Wall \
-Werror -mgeneral-regs-only -std=c99 -c -Os \
-DDEBUG=${DEBUG} ${INCLUDES} ${CFLAGS}