소스 검색

[bsp][nxp]:fix frdm-mcxa156 scons --dist err (#10024)

fix:frdm-mcxa156 scons --dist err
CYFS 5 달 전
부모
커밋
0e9b7d9553
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py

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