aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-11-12 19:15:25 -0500
committerbryan newbold <bnewbold@leaflabs.com>2013-11-12 19:15:33 -0500
commitba4f457d0d84b8799a931ebb5aefbb5ed9f553c0 (patch)
tree9f6d37a05f90a3a7bdabb520a5e2925f6c482ac7 /contrib
parent03e710c5a2e75b889550f06852e87c2f869ea152 (diff)
downloadbasic-hdl-template-ba4f457d0d84b8799a931ebb5aefbb5ed9f553c0.tar.gz
basic-hdl-template-ba4f457d0d84b8799a931ebb5aefbb5ed9f553c0.zip
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'
Diffstat (limited to 'contrib')
-rw-r--r--contrib/xilinx.mk16
1 files 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