From df64a55b3a675a61b88bb4d0a357ba7085000cdc Mon Sep 17 00:00:00 2001 From: Sandrine Bailleux <sandrine.bailleux@arm.com> Date: Tue, 11 Feb 2014 13:31:33 +0000 Subject: [PATCH] Compile assembly files with -DDEBUG flag Change-Id: Ic6cf19402a0936161baf6b91bf75d64d95269a3c --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b48fbf55f..7938318de 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}