mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-03 14:33:57 +00:00
Merge pull request #5402 from YosysHQ/micko/extensions
Force linking log_compat when extensions are linked
This commit is contained in:
commit
330a5fc101
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