Build FPG file
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Tue, 19 Feb 2013 12:27:43 +0000 (13:27 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Tue, 19 Feb 2013 12:27:43 +0000 (13:27 +0100)
Makefile

index a6aa2408c5df9389a265771148a20f4348dee765..f97f84bf15024dc0bf66db6016596eae57c8292e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,12 @@
-all: build/top.bit
+all: build/top.bit build/top.fpg
 
 build/top.bit build/top.bin:
        ./build.py
 
+build/top.fpg: build/top.bin
+       make -C tools
+       tools/byteswap $< $@
+
 load: build/top.bit
        jtag -n load.jtag