scripts: clean generated cmsis headers too

This commit is contained in:
Karl Palsson 2015-11-10 23:16:39 +00:00
parent a939810940
commit 00cbf86e77

View File

@ -159,6 +159,8 @@ def main():
os.unlink(nvic_h)
if os.path.exists(vector_nvic_c):
os.unlink(vector_nvic_c)
if os.path.exists(cmsis):
os.unlink(cmsis)
sys.exit(0)
if not needs_update([__file__, infile], [nvic_h, vector_nvic_c]):