Pārlūkot izejas kodu

[bsp][nxp] Fix scons command can not found 'sdk_dist'

Siwei Xu 1 gadu atpakaļ
vecāks
revīzija
52f2acf228
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      bsp/nxp/mcx/mcxn/frdm-mcxn947/rtconfig.py

+ 1 - 1
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)