[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 0b0baf2e4f
commit b6f725c7e4
1 changed files with 1 additions and 1 deletions

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)