aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2014-02-11 13:31:33 +0000
committerDan Handley <dan.handley@arm.com>2014-02-17 18:51:43 +0000
commitdf64a55b3a675a61b88bb4d0a357ba7085000cdc (patch)
treedc86ba3959ac5098cf9548476898cd70cad04087
parentc3810c83aa9158e8903e23b51616f7d7faaa63bc (diff)
downloadarm-trusted-firmware-df64a55b3a675a61b88bb4d0a357ba7085000cdc.tar.gz
Compile assembly files with -DDEBUG flag
Change-Id: Ic6cf19402a0936161baf6b91bf75d64d95269a3c
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b48fbf5..7938318 100644
--- a/Makefile
+++ b/Makefile
@@ -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}