parameterize ${device} in Makefile
[fleet.git] / Makefile
index 66c3a26..8d77e2c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,7 @@ synth:
        echo -n " -ifmt mixed" >> build/fpga/main.xst
        echo -n " -ofn main" >> build/fpga/main.xst
        echo -n " -ofmt NGC" >> build/fpga/main.xst
-       echo -n " -p xc4vfx60-11ff1152" >> build/fpga/main.xst
+       echo -n " -p ${device}" >> build/fpga/main.xst
        echo -n " -top main" >> build/fpga/main.xst
        echo -n " -opt_mode area" >> build/fpga/main.xst
        echo -n " -opt_level 2" >> build/fpga/main.xst