1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

make: add debug info for macros

This commit is contained in:
Jan Pochyla 2017-06-12 13:55:43 +02:00
parent b158750e0c
commit e22164e34d
3 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc
INC += -I$(BUILD) INC += -I$(BUILD)
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
CFLAGS += -Os -ggdb CFLAGS += -Os -g3
else else
CFLAGS += -Os -DNDEBUG CFLAGS += -Os -DNDEBUG
endif endif

View File

@ -120,7 +120,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc
INC += -I$(BUILD) INC += -I$(BUILD)
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
CFLAGS += -Os -ggdb CFLAGS += -Os -g3
else else
CFLAGS += -Os -DNDEBUG CFLAGS += -Os -DNDEBUG
endif endif

View File

@ -363,7 +363,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc
INC += -I$(BUILD) INC += -I$(BUILD)
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
CFLAGS += -Os -ggdb CFLAGS += -Os -g3
else else
CFLAGS += -Os -DNDEBUG CFLAGS += -Os -DNDEBUG
endif endif