mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-21 23:18:13 +00:00
make: add debug info for macros
This commit is contained in:
parent
b158750e0c
commit
e22164e34d
@ -106,7 +106,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc
|
||||
INC += -I$(BUILD)
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -Os -ggdb
|
||||
CFLAGS += -Os -g3
|
||||
else
|
||||
CFLAGS += -Os -DNDEBUG
|
||||
endif
|
||||
|
@ -120,7 +120,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc
|
||||
INC += -I$(BUILD)
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -Os -ggdb
|
||||
CFLAGS += -Os -g3
|
||||
else
|
||||
CFLAGS += -Os -DNDEBUG
|
||||
endif
|
||||
|
@ -363,7 +363,7 @@ INC += -I$(SRCDIR_MP)/lib/cmsis/inc
|
||||
INC += -I$(BUILD)
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -Os -ggdb
|
||||
CFLAGS += -Os -g3
|
||||
else
|
||||
CFLAGS += -Os -DNDEBUG
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user