build/xilinx/programmer: fix vivado_cmd

This commit is contained in:
Florent Kermarrec 2019-09-24 14:40:48 +02:00
parent ed9bff2eb9
commit 47dc332498
1 changed files with 1 additions and 1 deletions

View 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"