summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiwei Xu <[email protected]>2024-03-23 23:07:18 +0800
committerMeco Man <[email protected]>2024-03-23 14:44:28 -0400
commitb6f725c7e4e90bd7da0fd3b169f0de242745864d (patch)
tree750dbfe9839ca4ba2de0156b9e49072b3a784a26
parent0b0baf2e4f65516ec54ea84bcf7d3aa8f4e74e18 (diff)
[bsp][nxp] Fix scons command can not found 'sdk_dist'
-rw-r--r--bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py b/bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py
index 2996ef4956..d21ad58c87 100644
--- a/bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py
+++ b/bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py
@@ -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)