build/xilinx/vivado: only try Xilinx setup if vivado is not already in the path
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>
Mon, 22 Apr 2019 22:42:31 +0000 (15:42 -0700)
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>
Mon, 22 Apr 2019 22:42:31 +0000 (15:42 -0700)
commitfda18fd6ef20459eacd61365fe7840c599ccc77b
tree5851f37af1751b27d49e230324b3e1ead98d3651
parent7d278854d56cd7d9df1632835d22e590c3250540
build/xilinx/vivado: only try Xilinx setup if vivado is not already in the path

Only affects the non-Windows code path.
Uses python distutils, already used elsewhere.
litex/build/xilinx/vivado.py