Browse Source

bsp: k230: improve cleanup

Previously, `scons -c` did not clean up the build directory
and the automatically generated link.lds.generated.

This is fixed now.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Chen Wang 1 month ago
parent
commit
4fb64e3710
1 changed files with 3 additions and 0 deletions
  1. 3 0
      bsp/k230/SConstruct

+ 3 - 0
bsp/k230/SConstruct

@@ -56,3 +56,6 @@ generate_ldscript('link.lds', 'link.lds.generated')
 
 # make a building
 DoBuilding(TARGET, objs)
+
+Clean(TARGET, 'link.lds.generated')
+Clean(TARGET, 'build')