mirror of https://github.com/RT-Thread/rt-thread
[bsp][nxp] Fix scons command can not found 'sdk_dist'
This commit is contained in:
parent
0b0baf2e4f
commit
b6f725c7e4
|
@ -192,7 +192,7 @@ elif PLATFORM == 'iccarm':
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT, dist_dir):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
cwd_path = os.getcwd()
|
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
|
from sdk_dist import dist_do_building
|
||||||
dist_do_building(BSP_ROOT, dist_dir)
|
dist_do_building(BSP_ROOT, dist_dir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue