diff options
| author | SummerGift <[email protected]> | 2020-05-06 14:53:15 +0800 |
|---|---|---|
| committer | SummerGift <[email protected]> | 2020-05-06 14:54:05 +0800 |
| commit | 783cf540873297ba6b78161dee4a6dc545abcd54 (patch) | |
| tree | a7f4fbe25d44952c8a9e8e211eba9305a32a0a99 /tools/mkdist.py | |
| parent | 79e8838690653d3b28cb02c23d4242e06c282b3a (diff) | |
[del] stm32 dist handle in mkdist.py
Diffstat (limited to 'tools/mkdist.py')
| -rw-r--r-- | tools/mkdist.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/mkdist.py b/tools/mkdist.py index d83020f755..e190123e6c 100644 --- a/tools/mkdist.py +++ b/tools/mkdist.py @@ -336,15 +336,6 @@ def MkDist(program, BSP_ROOT, RTT_ROOT, Env, rttide = None): print('=> %s' % os.path.basename(BSP_ROOT)) bsp_copy_files(BSP_ROOT, dist_dir) - # copy stm32 bsp libiary files - if os.path.basename(os.path.dirname(BSP_ROOT)) == 'stm32': - print("=> copy stm32 bsp library") - library_path = os.path.join(os.path.dirname(BSP_ROOT), 'libraries') - library_dir = os.path.join(dist_dir, 'libraries') - bsp_copy_files(os.path.join(library_path, 'HAL_Drivers'), os.path.join(library_dir, 'HAL_Drivers')) - bsp_copy_files(os.path.join(library_path, Env['bsp_lib_type']), os.path.join(library_dir, Env['bsp_lib_type'])) - shutil.copyfile(os.path.join(library_path, 'Kconfig'), os.path.join(library_dir, 'Kconfig')) - # copy nuclei bsp libiary files if os.path.basename(os.path.dirname(BSP_ROOT)) == 'nuclei': print("=> copy nuclei bsp library") |
