build/xilinx/programmer: fix vivado_cmd
This commit is contained in:
parent
ed9bff2eb9
commit
47dc332498
|
@ -117,10 +117,10 @@ quit
|
||||||
|
|
||||||
|
|
||||||
def _run_vivado(path, ver, cmds):
|
def _run_vivado(path, ver, cmds):
|
||||||
vivado_cmd = "echo 0"
|
|
||||||
if sys.platform == "win32" or sys.platform == "cygwin":
|
if sys.platform == "win32" or sys.platform == "cygwin":
|
||||||
vivado_cmd = "vivado -mode tcl"
|
vivado_cmd = "vivado -mode tcl"
|
||||||
else:
|
else:
|
||||||
|
vivado_cmd = ""
|
||||||
if not find_executable("vivado"):
|
if not find_executable("vivado"):
|
||||||
# For backwards compatibility with ISE paths, also
|
# For backwards compatibility with ISE paths, also
|
||||||
# look for a version in a subdirectory named "Vivado"
|
# look for a version in a subdirectory named "Vivado"
|
||||||
|
|
Loading…
Reference in New Issue