Skip to content

Commit 89f6931

Browse files
rcitachRbb666
authored andcommitted
Improve the scons dist functionality
1 parent 9a973f4 commit 89f6931

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

bsp/novosns/ns800/tools/sdk_dist.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def dist_do_building(BSP_ROOT, dist_dir):
1111
from mkdist import bsp_copy_files
1212
import rtconfig
1313

14-
print("=> copy stm32 bsp library")
14+
print("=> copy novosns bsp library")
1515
library_dir = os.path.join(dist_dir, 'libraries')
1616
library_path = os.path.join(os.path.dirname(BSP_ROOT), 'libraries')
1717
if rtconfig.BSP_LIBRARY_TYPE is not None:
@@ -20,4 +20,3 @@ def dist_do_building(BSP_ROOT, dist_dir):
2020

2121
print("=> copy bsp drivers")
2222
bsp_copy_files(os.path.join(library_path, 'HAL_Drivers'), os.path.join(library_dir, 'HAL_Drivers'))
23-
shutil.copyfile(os.path.join(library_path, 'Kconfig'), os.path.join(library_dir, 'Kconfig'))

0 commit comments

Comments
 (0)