From 52f2acf2282da43be0f17f50d04b1fbb702f14f8 Mon Sep 17 00:00:00 2001 From: Siwei Xu Date: Sat, 23 Mar 2024 23:07:18 +0800 Subject: [PATCH] [bsp][nxp] Fix scons command can not found 'sdk_dist' --- bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)