summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCYFS <[email protected]>2025-02-23 14:52:12 +0800
committerRbb666 <[email protected]>2025-03-10 22:45:04 +0800
commit86fed8e2fd3c01204af05976f2b1c0fb56903f73 (patch)
tree80f8f8b586c7631758cfed698ceaeb4e3f45b06c
parent50e373aace888592766020898588cf29b94abec1 (diff)
[bsp][nxp]:fix frdm-mcxa156 scons --dist err (#10024)
fix:frdm-mcxa156 scons --dist err
-rw-r--r--bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py b/bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py
index 7c167ff37a..57840d55f4 100644
--- a/bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py
+++ b/bsp/nxp/mcx/mcxa/frdm-mcxa156/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)