build/xilinx/programmer: fix vivado_cmd
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 24 Sep 2019 12:40:48 +0000 (14:40 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 24 Sep 2019 12:40:48 +0000 (14:40 +0200)
litex/build/xilinx/programmer.py

index c4784f0bdf8fb376e44416867c78e51eeaee7eb1..c3ed64ad2b2812ef64ad9e2003fb0edea56531b4 100644 (file)
@@ -117,10 +117,10 @@ quit
 
 
 def _run_vivado(path, ver, cmds):
-    vivado_cmd = "echo 0"
     if sys.platform == "win32" or sys.platform == "cygwin":
         vivado_cmd = "vivado -mode tcl"
     else:
+        vivado_cmd = ""
         if not find_executable("vivado"):
             # For backwards compatibility with ISE paths, also
             # look for a version in a subdirectory named "Vivado"