[tools][dist] optimize stm32 bsp dist function

This commit is contained in:
SummerGift
2018-12-18 13:37:59 +08:00
parent 9e990be572
commit cb6f902135
2 changed files with 16 additions and 1 deletions
+3
View File
@@ -813,6 +813,9 @@ def EndBuilding(target, program = None):
if hasattr(rtconfig, 'BSP_LIBRARY_TYPE'):
Env['bsp_lib_type'] = rtconfig.BSP_LIBRARY_TYPE
if hasattr(rtconfig, 'dist_handle'):
Env['dist_handle'] = rtconfig.dist_handle
Env.AddPostAction(target, rtconfig.POST_ACTION)
# Add addition clean files
Clean(target, 'cconfig.h')