diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-08 00:23:18 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-08 00:23:18 +0100 |
commit | 1d96277f5d4c615ca4018d9a6e867c980db3b73a (patch) | |
tree | 39f016658d8f2d7f23e6a14f63ca6889e52370a5 /techlibs/xilinx | |
parent | 38dfc5c580c8ba418783ec8cbee1a78c7cd5f788 (diff) | |
download | yosys-1d96277f5d4c615ca4018d9a6e867c980db3b73a.tar.gz yosys-1d96277f5d4c615ca4018d9a6e867c980db3b73a.tar.bz2 yosys-1d96277f5d4c615ca4018d9a6e867c980db3b73a.zip |
Added add_share_file Makefile macro
Diffstat (limited to 'techlibs/xilinx')
-rw-r--r-- | techlibs/xilinx/Makefile.inc | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/techlibs/xilinx/Makefile.inc b/techlibs/xilinx/Makefile.inc index 64ee9597c..b653660fa 100644 --- a/techlibs/xilinx/Makefile.inc +++ b/techlibs/xilinx/Makefile.inc @@ -1,17 +1,8 @@ OBJS += techlibs/xilinx/synth_xilinx.o -EXTRA_TARGETS += share/xilinx/cells.v share/xilinx/brams.txt share/xilinx/brams.v - -share/xilinx/cells.v: techlibs/xilinx/cells.v - $(P) mkdir -p share/xilinx - $(Q) cp techlibs/xilinx/cells.v share/xilinx/cells.v - -share/xilinx/brams.txt: techlibs/xilinx/brams.txt - $(P) mkdir -p share/xilinx - $(Q) cp techlibs/xilinx/brams.txt share/xilinx/brams.txt - -share/xilinx/brams.v: techlibs/xilinx/brams.v - $(P) mkdir -p share/xilinx - $(Q) cp techlibs/xilinx/brams.v share/xilinx/brams.v +$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/cells.v)) +$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/cells_sim.v)) +$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/brams.txt)) +$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/brams.v)) |