diff options
| author | SummerGift <[email protected]> | 2018-12-17 18:46:48 +0800 |
|---|---|---|
| committer | SummerGift <[email protected]> | 2018-12-18 13:37:59 +0800 |
| commit | cb6f9021354a67e24fc0e0a51cb2fee022e95231 (patch) | |
| tree | 556a9471a7e42d065b0dc6e365e6deab028dc090 /tools/building.py | |
| parent | 9e990be5729ba4d4514ba997708ca0b70b147a36 (diff) | |
[tools][dist] optimize stm32 bsp dist function
Diffstat (limited to 'tools/building.py')
| -rw-r--r-- | tools/building.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/building.py b/tools/building.py index eb2da2fab9..90c1c871b6 100644 --- a/tools/building.py +++ b/tools/building.py @@ -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') |
