summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-05-07 14:07:52 +0800
committerGitHub <[email protected]>2020-05-07 14:07:52 +0800
commit90fb832bf2cd518a8ac408f52fcc941ae0ac3c0b (patch)
treecee8257e47df34e004333861442def7ce6c0e50c /tools
parent31402e494a86405130bd0bc59ceb2daf6a7b1a49 (diff)
parent9f6696964a16b4094d8da0fcd8c102d97bf9f8c5 (diff)
Merge pull request #3582 from SummerLife/optimize_dist_handle
[bsp] optimize bsp dist handle process
Diffstat (limited to 'tools')
-rw-r--r--tools/mkdist.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/mkdist.py b/tools/mkdist.py
index d83020f755..a6c744b470 100644
--- a/tools/mkdist.py
+++ b/tools/mkdist.py
@@ -336,22 +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")
- 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, Env['bsp_lib_type']), os.path.join(library_dir, Env['bsp_lib_type']))
-
# do bsp special dist handle
if 'dist_handle' in Env:
print("=> start dist handle")