aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-12-14 14:34:52 -0500
committerPaul Selkirk <paul@psgd.org>2015-12-14 14:34:52 -0500
commit184a6b097064e3bef688661b03f04fc5fa1dd3ce (patch)
tree695aaf5f140fbf9bdf5380da09a3fdf6478ba3d0
parent40c4839728c65618465cfb66cbd489ac86c97727 (diff)
add makefile 'distclean' target to remove generated core selector
-rw-r--r--eim/build/Makefile4
-rw-r--r--fmc/build/.gitignore93
-rw-r--r--fmc/build/Makefile4
-rw-r--r--i2c/build/Makefile4
4 files changed, 58 insertions, 47 deletions
diff --git a/eim/build/Makefile b/eim/build/Makefile
index bd9e8b8..8b984a2 100644
--- a/eim/build/Makefile
+++ b/eim/build/Makefile
@@ -68,6 +68,7 @@ vfiles = \
include xilinx.mk
# 'clean' target collects files by project name, and we just broke that
+# by adding configurations
junk += *.bgn *.bit *.bld *.cfi *.drc *.lso *.map *.mcs *.mrp *.ncd *.ngc \
*.ngd *.ngm *.pcf *.post_map.twr *.post_map.twx *.prj *.prm *.psr \
@@ -76,6 +77,9 @@ junk += *.bgn *.bit *.bld *.cfi *.drc *.lso *.map *.mcs *.mrp *.ncd *.ngc \
*_par.ptwx *_par.unroutes *_par.xpi *_par_pad.csv *_par_pad.txt \
*_summary.xml *_usage.xml
+distclean: clean
+ rm core_selector.v core_vfiles.mk
+
# Fun extras for running verilator as a linter.
VERILATOR_FLAGS = --lint-only --top-module $(top_module) -Wall -Wno-fatal -Wno-DECLFILENAME
diff --git a/fmc/build/.gitignore b/fmc/build/.gitignore
index 66d2673..2eb6775 100644
--- a/fmc/build/.gitignore
+++ b/fmc/build/.gitignore
@@ -1,55 +1,54 @@
-coregen-tmp
*.xrpt
-novena_fmc.mcs
-novena_fmc.cfi
-novena_fmc.prm
-novena_fmc.bgn
-novena_fmc.bit
-novena_fmc.drc
-novena_fmc_bd.bmm
-novena_fmc_par.ncd
-novena_fmc_par.par
-novena_fmc_par.pad
-novena_fmc_par_pad.csv
-novena_fmc_par_pad.txt
-novena_fmc_par.grf
-novena_fmc_par.ptwx
-novena_fmc_par.unroutes
-novena_fmc_par.xpi
-novena_fmc.ncd
-novena_fmc.pcf
-novena_fmc.ngm
-novena_fmc.mrp
-novena_fmc.map
-smartguide.ncd
-novena_fmc.psr
-novena_fmc_summary.xml
-novena_fmc_usage.xml
-novena_fmc.ngd
-novena_fmc.bld
-xlnx_auto*
-novena_fmc_top.lso
-novena_fmc.srp
+_xmsgs
+default.xreport
netlist.lst
-xst
-novena_fmc.ngc
-novena_fmc.prj
-novena_fmc.scr
-novena_fmc.post_map.twr
-novena_fmc.post_map.twx
+*.bgn
+*.bit
+*.bld
+*.cfi
+*.drc
+*.lso
+*.lso
+*.map
+*.mcs
+*.mrp
+*.ncd
+*.ngc
+*.ngd
+*.ngm
+*.pcf
+*.post_map.twr
+*.post_map.twx
+*.prj
+*.prm
+*.psr
+*.scr
+*.srp
+*.twr
+*.twx
+*_bd.bmm
+*_bitgen.xwb
+*_bitgen.xwbt
+*_err.twr
+*_err.twx
+*_par.grf
+*_par.ncd
+*_par.pad
+*_par.par
+*_par.ptwx
+*_par.unroutes
+*_par.xpi
+*_par_pad.csv
+*_par_pad.txt
+*_summary.xml
+*_usage.xml
+par_usage_statistics.html
+smartguide.ncd
smartpreview.twr
-novena_fmc.twr
-novena_fmc.twx
smartpreview.twr
-novena_fmc_err.twr
-novena_fmc_err.twx
-novena_fmc.lso
-novena_fmc_bitgen.xwb
-novena_fmc_bitgen.xwbt
usage_statistics_webtalk.html
-par_usage_statistics.html
webtalk.log
-_xmsgs
-default.xreport
+xlnx_auto*
+xst
core_selector.v
core_vfiles.mk
diff --git a/fmc/build/Makefile b/fmc/build/Makefile
index a7e8755..c317d02 100644
--- a/fmc/build/Makefile
+++ b/fmc/build/Makefile
@@ -66,6 +66,7 @@ vfiles = \
include xilinx.mk
# 'clean' target collects files by project name, and we just broke that
+# by adding configurations
junk += *.bgn *.bit *.bld *.cfi *.drc *.lso *.map *.mcs *.mrp *.ncd *.ngc \
*.ngd *.ngm *.pcf *.post_map.twr *.post_map.twx *.prj *.prm *.psr \
@@ -74,6 +75,9 @@ junk += *.bgn *.bit *.bld *.cfi *.drc *.lso *.map *.mcs *.mrp *.ncd *.ngc \
*_par.ptwx *_par.unroutes *_par.xpi *_par_pad.csv *_par_pad.txt \
*_summary.xml *_usage.xml
+distclean: clean
+ rm core_selector.v core_vfiles.mk
+
# Fun extras for running verilator as a linter.
VERILATOR_FLAGS = --lint-only --top-module $(top_module) -Wall -Wno-fatal -Wno-DECLFILENAME
diff --git a/i2c/build/Makefile b/i2c/build/Makefile
index bc1bd14..dc020c8 100644
--- a/i2c/build/Makefile
+++ b/i2c/build/Makefile
@@ -63,6 +63,7 @@ vfiles = \
include xilinx.mk
# 'clean' target collects files by project name, and we just broke that
+# by adding configurations
junk += *.bgn *.bit *.bld *.cfi *.drc *.lso *.map *.mcs *.mrp *.ncd *.ngc \
*.ngd *.ngm *.pcf *.post_map.twr *.post_map.twx *.prj *.prm *.psr \
@@ -71,6 +72,9 @@ junk += *.bgn *.bit *.bld *.cfi *.drc *.lso *.map *.mcs *.mrp *.ncd *.ngc \
*_par.ptwx *_par.unroutes *_par.xpi *_par_pad.csv *_par_pad.txt \
*_summary.xml *_usage.xml
+distclean: clean
+ rm core_selector.v core_vfiles.mk
+
# Fun extras for running verilator as a linter.
VERILATOR_FLAGS = --lint-only --top-module $(top_module) -Wall -Wno-fatal -Wno-DECLFILENAME