From ba4f457d0d84b8799a931ebb5aefbb5ed9f553c0 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Tue, 12 Nov 2013 19:15:25 -0500 Subject: clean up cleaning (heh) This commit fixes an old problem where coregen files get wiped by a 'clean'. To completely clear out coregen'd stuff, now use 'cleanall' --- contrib/xilinx.mk | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/contrib/xilinx.mk b/contrib/xilinx.mk index 3c26ed5..d9b9b1f 100644 --- a/contrib/xilinx.mk +++ b/contrib/xilinx.mk @@ -349,14 +349,24 @@ final_timing: build/$(project)_post_par.twr lint: verilator --lint-only -I./hdl -I./cores -Wall -Wno-DECLFILENAME hdl/$(top_module)_$(board) || true -clean: clean_synth clean_sim +cleanall: clean_synth clean_sim clean_ise + rm -rf coregen-tmp + +clean: clean_synth clean_sim clean_ise + +clean_ise: rm -rf iseconfig clean_sim:: - rm -f tb/simulate_isim tb/*.log tb/*.cmd tb/*.xmsgs tb/*.prj tb/*.isim tb/isim.compiled + rm -f tb/simulate_isim + rm -f tb/*.log + rm -f tb/*.cmd + rm -f tb/*.xmsgs + rm -f tb/*.prj + rm -f tb/*.isim + rm -f tb/isim.compiled rm -rf tb/isim clean_synth:: rm -rf build - rm -rf coregen-tmp -- cgit v1.2.3