5 Star 18 Fork 2

满鉴霆 / RT-Thread-wrapper-of-uCOS-II

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
SConscript 439 Bytes
一键复制 编辑 原始数据 按行查看 历史
满鉴霆 提交于 2020-11-29 02:28 . 增加SConscript脚本
import os
import shutil
from building import *
# get current dir path
cwd = GetCurrentDir()
# traversal subscript
objs = []
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(d, 'SConscript'))
#delate non-used files
try:
shutil.rmtree(os.path.join(cwd,'rt-thread-3.1.3'))
except:
pass
Return('objs')
C
1
https://gitee.com/mysterywolf/RT-Thread-wrapper-of-uCOS-II.git
git@gitee.com:mysterywolf/RT-Thread-wrapper-of-uCOS-II.git
mysterywolf
RT-Thread-wrapper-of-uCOS-II
RT-Thread-wrapper-of-uCOS-II
master

搜索帮助