浏览代码

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 2 月之前
父节点
当前提交
4fb64e3710
共有 1 个文件被更改,包括 3 次插入0 次删除
  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')