mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
add debug level to FPGA makefile
This commit is contained in:
parent
fc0392e5e3
commit
fce935f1c4
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ endif
|
|||
# Debugging
|
||||
ifdef DEBUG
|
||||
ifneq ($(TARGET), fpga)
|
||||
CFLAGS += $(DBG_TRACE_FLAGS)
|
||||
CFLAGS += -DDEBUG_LEVEL=$(DEBUG) $(DBG_TRACE_FLAGS)
|
||||
else
|
||||
CFLAGS += -DNDEBUG
|
||||
endif
|
||||
|
|
|
@ -116,7 +116,7 @@ ifdef DEBUG
|
|||
VPP_FLAGS += -g --debug.protocol all
|
||||
ifneq ($(TARGET), hw)
|
||||
VPP_FLAGS += --vivado.prop fileset.sim_1.xsim.elaborate.debug_level=all
|
||||
CFLAGS += $(DBG_TRACE_FLAGS)
|
||||
CFLAGS += -DDEBUG_LEVEL=$(DEBUG) $(DBG_TRACE_FLAGS)
|
||||
else
|
||||
CFLAGS += -DNDEBUG
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue