diff --git a/bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py b/bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py index 2996ef495635..d21ad58c8728 100644 --- a/bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py +++ b/bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py @@ -192,7 +192,7 @@ 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)