make: fix byteswap invocation
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sun, 7 Jul 2013 12:55:06 +0000 (14:55 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sun, 7 Jul 2013 12:55:06 +0000 (14:55 +0200)
make.py

diff --git a/make.py b/make.py
index 236a9f1358a8b79c8065861cd831180612508c48..a69b77d6d4e5ec5f5d8a6a2486e41e79e375788a 100755 (executable)
--- a/make.py
+++ b/make.py
@@ -41,7 +41,7 @@ TIMESPEC "TSise_sucks2" = FROM "GRPsys_clk" TO "GRPvga_clk" TIG;
        if build_bitstream:
                build_name = "soc-"+platform_name
                platform.build(soc, build_name=build_name)
-               subprocess.call(["tools/byteswap", build_name+".bin", build_name+".fpg"])
+               subprocess.call(["tools/byteswap", "build/"+build_name+".bin", "build/"+build_name+".fpg"])
        else:
                soc.finalize()
        if build_header: