summaryrefslogtreecommitdiff
path: root/tools/mkdist.py
diff options
context:
space:
mode:
authorluhuadong <[email protected]>2020-04-22 16:58:10 +0800
committerluhuadong <[email protected]>2020-04-22 16:58:10 +0800
commite1bd3673fd428ffbfd04d2f51a1a9be6fbfe832d (patch)
tree8a733f84763476388ba3a5587c45cf0c763c9ce0 /tools/mkdist.py
parent964cbe612adbe749b4cd3c3ef48eafe72a571254 (diff)
[AT32 BSP] do bsp special dist handle
Diffstat (limited to 'tools/mkdist.py')
-rw-r--r--tools/mkdist.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/mkdist.py b/tools/mkdist.py
index 2f12ad8f12..d83020f755 100644
--- a/tools/mkdist.py
+++ b/tools/mkdist.py
@@ -214,15 +214,6 @@ def MkDist_Strip(program, BSP_ROOT, RTT_ROOT, Env):
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 at32 bsp libiary files
- if os.path.basename(os.path.dirname(BSP_ROOT)) == 'at32':
- print("=> copy at32 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, 'rt_drivers'), os.path.join(library_dir, 'rt_drivers'))
- bsp_copy_files(os.path.join(library_path, 'AT32_Std_Driver'), os.path.join(library_dir, 'AT32_Std_Driver'))
- shutil.copyfile(os.path.join(library_path, 'Kconfig'), os.path.join(library_dir, 'Kconfig'))
-
# do bsp special dist handle
if 'dist_handle' in Env:
print("=> start dist handle")
@@ -354,15 +345,6 @@ def MkDist(program, BSP_ROOT, RTT_ROOT, Env, rttide = None):
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 at32 bsp libiary files
- if os.path.basename(os.path.dirname(BSP_ROOT)) == 'at32':
- print("=> copy at32 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, 'rt_drivers'), os.path.join(library_dir, 'rt_drivers'))
- bsp_copy_files(os.path.join(library_path, 'AT32_Std_Driver'), os.path.join(library_dir, 'AT32_Std_Driver'))
- 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")