mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
build/microsemi/libero_soc: remove previous impl directory if exists
This commit is contained in:
parent
18d513a146
commit
953b1f70df
1 changed files with 3 additions and 0 deletions
|
@ -237,6 +237,9 @@ class MicrosemiLiberoSoCPolarfireToolchain:
|
|||
|
||||
# run
|
||||
if run:
|
||||
# delete previous impl
|
||||
if os.path.exists("impl"):
|
||||
shutil.rmtree("impl")
|
||||
_run_script(script)
|
||||
|
||||
os.chdir(cwd)
|
||||
|
|
Loading…
Reference in a new issue