mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-31 23:34:57 +00:00
Enable synth_ecp5 wrapper and copy sim files for backwards compatibility
This commit is contained in:
parent
0da1ab0cbd
commit
1f563b52e3
3 changed files with 15 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -575,6 +575,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