mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 21:19:30 +00:00
Force linking log_compat when extensions are linked
This commit is contained in:
parent
5fd2aecd90
commit
e6fa0223c8
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -530,8 +530,12 @@ ifeq ($(ENABLE_VERIFIC_YOSYSHQ_EXTENSIONS),1)
|
|||
VERIFIC_COMPONENTS += extensions
|
||||
CXXFLAGS += -DYOSYSHQ_VERIFIC_EXTENSIONS
|
||||
else
|
||||
# YosysHQ flavor of Verific always needs extensions linked
|
||||
# if disabled it will just not be invoked but parts
|
||||
# are required for it to initialize properly
|
||||
ifneq ($(wildcard $(VERIFIC_DIR)/extensions),)
|
||||
VERIFIC_COMPONENTS += extensions
|
||||
OBJS += kernel/log_compat.o
|
||||
endif
|
||||
endif
|
||||
CXXFLAGS += $(patsubst %,-I$(VERIFIC_DIR)/%,$(VERIFIC_COMPONENTS)) -DYOSYS_ENABLE_VERIFIC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue