mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-01 13:39:30 +00:00
Enable synth_ecp5 wrapper and copy sim files for backwards compatibility
This commit is contained in:
parent
e7ac237499
commit
4a7f94f1c1
3 changed files with 15 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -561,6 +561,13 @@ $(subst //,/,$(1)/$(notdir $(2))): $(2)
|
|||
$$(Q) cp "$(YOSYS_SRC)"/$(2) $(subst //,/,$(1)/$(notdir $(2)))
|
||||
endef
|
||||
|
||||
define add_share_file_and_rename
|
||||
EXTRA_TARGETS += $(subst //,/,$(1)/$(3))
|
||||
$(subst //,/,$(1)/$(3)): $(2)
|
||||
$$(P) mkdir -p $(1)
|
||||
$$(Q) cp "$(YOSYS_SRC)"/$(2) $(subst //,/,$(1)/$(3))
|
||||
endef
|
||||
|
||||
define add_gen_share_file
|
||||
EXTRA_TARGETS += $(subst //,/,$(1)/$(notdir $(2)))
|
||||
$(subst //,/,$(1)/$(notdir $(2))): $(2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue