4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-13 07:49:19 +08:00

[bsp][nxp] Fix scons command can not found 'sdk_dist'

This commit is contained in:
Siwei Xu 2024-03-23 23:07:18 +08:00 committed by Meco Man
parent 4ae3527abb
commit 52f2acf228

View File

@ -192,7 +192,7 @@ elif PLATFORM == 'iccarm':
def dist_handle(BSP_ROOT, dist_dir):
cwd_path = os.getcwd()
sys.path.append(os.path.join(os.path.dirname(BSP_ROOT), 'tools'))
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)