Compile assembly files with -DDEBUG flag
Change-Id: Ic6cf19402a0936161baf6b91bf75d64d95269a3c
diff --git a/Makefile b/Makefile
index b48fbf5..7938318 100644
--- a/Makefile
+++ b/Makefile
@@ -131,7 +131,8 @@
${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}