Skip to content

Commit 4fb64e3

Browse files
unicornxRbb666
authored andcommitted
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 <[email protected]>
1 parent 83f6747 commit 4fb64e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bsp/k230/SConstruct

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ generate_ldscript('link.lds', 'link.lds.generated')
5656

5757
# make a building
5858
DoBuilding(TARGET, objs)
59+
60+
Clean(TARGET, 'link.lds.generated')
61+
Clean(TARGET, 'build')

0 commit comments

Comments
 (0)