Upgrade the way we check if HDLMake is running on Windows

parent d64eb61f
......@@ -67,8 +67,8 @@ class Env(dict):
return True
else:
return False
tool_info = info_class.TOOL_INFO
if sys.platform == 'cygwin':
tool_info = info_class._tool_info
if path_mod.check_windows():
bin_name = tool_info['windows_bin']
else:
bin_name = tool_info['linux_bin']
......
......@@ -78,7 +78,7 @@ class ToolISim(ToolSim):
logging.error("Cannot calculate xilinx tools base directory")
quit()
hdl_language = 'vhdl' # 'verilog'
if sys.platform == 'cygwin':
if path_mod.check_windows():
os_prefix = 'nt'
else:
os_prefix = 'lin'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment