projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef812d
)
Cleanup in add_share_file make macro
author
Clifford Wolf
<clifford@clifford.at>
Sat, 7 Feb 2015 23:01:31 +0000
(
00:01
+0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 7 Feb 2015 23:01:31 +0000
(
00:01
+0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 8a2b6cdce19d60164c461d80d42ee7ad171d1bb0..fcd166a1cf765f59012c60bb22592c3c2921f482 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-159,10
+159,10
@@
CXXFLAGS += -DYOSYS_ENABLE_COVER
endif
define add_share_file
-EXTRA_TARGETS += $(
1)/$(notdir $(2
))
-$(
1)/$(notdir $(2
)): $(2)
+EXTRA_TARGETS += $(
subst //,/,$(1)/$(notdir $(2)
))
+$(
subst //,/,$(1)/$(notdir $(2)
)): $(2)
$$(P) mkdir -p $(1)
- $$(Q) cp $(2) $(
1)/$(notdir $(2
))
+ $$(Q) cp $(2) $(
subst //,/,$(1)/$(notdir $(2)
))
endef
define add_include_file