build/microsemi/libero_soc: remove previous impl directory if exists
This commit is contained in:
parent
18d513a146
commit
953b1f70df
|
@ -237,6 +237,9 @@ class MicrosemiLiberoSoCPolarfireToolchain:
|
||||||
|
|
||||||
# run
|
# run
|
||||||
if run:
|
if run:
|
||||||
|
# delete previous impl
|
||||||
|
if os.path.exists("impl"):
|
||||||
|
shutil.rmtree("impl")
|
||||||
_run_script(script)
|
_run_script(script)
|
||||||
|
|
||||||
os.chdir(cwd)
|
os.chdir(cwd)
|
||||||
|
|
Loading…
Reference in New Issue