Merge pull request #1123 from LazyDodo/master
build/altera: fix rbf generation on windows
This commit is contained in:
commit
96b3587225
|
@ -149,6 +149,13 @@ quartus_fit --read_settings_files=off --write_settings_files=off {build_name} -c
|
|||
quartus_asm --read_settings_files=off --write_settings_files=off {build_name} -c {build_name}
|
||||
quartus_sta {build_name} -c {build_name}"""
|
||||
if create_rbf:
|
||||
if sys.platform in ["win32", "cygwin"]:
|
||||
script_contents += """
|
||||
if exist "{build_name}.sof" (
|
||||
quartus_cpf -c {build_name}.sof {build_name}.rbf
|
||||
)
|
||||
"""
|
||||
else:
|
||||
script_contents += """
|
||||
if [ -f "{build_name}.sof" ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue