diff options
| author | luhuadong <[email protected]> | 2020-04-18 16:26:36 +0800 |
|---|---|---|
| committer | luhuadong <[email protected]> | 2020-04-18 16:26:36 +0800 |
| commit | 964cbe612adbe749b4cd3c3ef48eafe72a571254 (patch) | |
| tree | 986db99ce7838075ed578de7a68893b3bb3dd28a /tools | |
| parent | 3b2fa472096d41287ee8cb542e8c1d119a5a8b76 (diff) | |
| parent | d2ff5055387a46908aa48be639b32e796e128a1c (diff) | |
Resolve conflicts
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mkdist.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/mkdist.py b/tools/mkdist.py index e71d767446..2f12ad8f12 100644 --- a/tools/mkdist.py +++ b/tools/mkdist.py @@ -363,6 +363,13 @@ def MkDist(program, BSP_ROOT, RTT_ROOT, Env, rttide = None): 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") + 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") |
