mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +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)
|
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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user