mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-20 04:43:48 +08:00
[add] dist_dir function for every stm32 bsp
This commit is contained in:
parent
01873a5687
commit
fea7f2bb58
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -141,9 +141,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,10 +142,10 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -141,9 +141,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -143,9 +143,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
@ -142,9 +142,9 @@ elif PLATFORM == 'iar':
|
|||||||
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
EXEC_PATH = EXEC_PATH + '/arm/bin/'
|
||||||
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
|
||||||
|
|
||||||
def dist_handle(BSP_ROOT):
|
def dist_handle(BSP_ROOT, dist_dir):
|
||||||
import sys
|
import sys
|
||||||
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_do_building(BSP_ROOT, dist_dir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user