]> git.zerfleddert.de Git - raggedstone/blobdiff - ethernet/Makefile
only regenerate cores when needed, and not on every build
[raggedstone] / ethernet / Makefile
index d02d65d8aa87d89caed4cb7651225c148d17639c..f4480c98daf5e0ff5abf3b8788910301f632db99 100644 (file)
@@ -1,3 +1,16 @@
 PROJECT := ethernet
+CLEANFILES := param.opt icon.* icon_flist.txt icon_readme.txt icon_xmdf.tcl ila.* ila_flist.txt ila_readme.txt ila_xmdf.tcl
+
+ethernet_all: ip all
+
+ip: icon.ngc ila.ngc
+
+icon.ngc: icon_core.xco
+       coregen -b $<
+       -rmdir -p tmp/_cg
+
+ila.ngc: ila_core.xco
+       coregen -b $<
+       -rmdir -p tmp/_cg
 
 include ../common/Makefile.common
Impressum, Datenschutz