[bsp/stm32wle5-yizhilian-lm402]修复scons --dist缺失大量文件

This commit is contained in:
会飞的猪 2023-01-18 09:35:07 +08:00 committed by Man, Jianting (Meco)
parent 265dbc0ce1
commit 65f1804005
1 changed files with 7 additions and 0 deletions

View File

@ -175,3 +175,10 @@ elif PLATFORM == 'iccarm':
EXEC_PATH = EXEC_PATH + '/arm/bin/' EXEC_PATH = EXEC_PATH + '/arm/bin/'
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin' POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
def dist_handle(BSP_ROOT, dist_dir):
import sys
cwd_path = os.getcwd()
sys.path.append(os.path.join(os.path.dirname(BSP_ROOT), 'tools'))
from sdk_dist import dist_do_building
dist_do_building(BSP_ROOT, dist_dir)