From e4ef000b703080131f4608f8bdcbe108a9b30b51 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 12 Aug 2015 15:04:44 +0200 Subject: Adjust makefiles to work with out-of-tree builds This is based on work done by Larry Doolittle --- techlibs/xilinx/Makefile.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'techlibs/xilinx/Makefile.inc') diff --git a/techlibs/xilinx/Makefile.inc b/techlibs/xilinx/Makefile.inc index a8f5416e..c6cf1a7d 100644 --- a/techlibs/xilinx/Makefile.inc +++ b/techlibs/xilinx/Makefile.inc @@ -10,8 +10,8 @@ EXTRA_OBJS += techlibs/xilinx/brams_init.mk .SECONDARY: techlibs/xilinx/brams_init.mk techlibs/xilinx/brams_init.mk: techlibs/xilinx/brams_init.py - $(P) cd techlibs/xilinx && python brams_init.py - $(Q) touch techlibs/xilinx/brams_init.mk + $(P) cd share/xilinx && python $< + $(Q) touch $@ techlibs/xilinx/brams_init_36.vh: techlibs/xilinx/brams_init.mk techlibs/xilinx/brams_init_32.vh: techlibs/xilinx/brams_init.mk @@ -22,10 +22,6 @@ $(eval $(call add_share_file,share/xilinx,techlibs/xilinx/cells_map.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_map.v)) -$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/brams_init_36.vh)) -$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/brams_init_32.vh)) -$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/brams_init_18.vh)) -$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/brams_init_16.vh)) $(eval $(call add_share_file,share/xilinx,techlibs/xilinx/brams_bb.v)) $(eval $(call add_share_file,share/xilinx,techlibs/xilinx/drams.txt)) $(eval $(call add_share_file,share/xilinx,techlibs/xilinx/drams_map.v)) -- cgit v1.2.3