8 Star 10 Fork 0

广东匠芯创科技有限公司/Baremetal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
SConscript 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
刘可亮 提交于 2024-06-04 14:58 . V1.0.5
Import('AIC_ROOT')
Import('PRJ_CHIP')
Import('PRJ_BOARD')
Import('PRJ_KERNEL')
Import('PRJ_APP')
import os
from building import *
objs = []
# chip
rel_path = os.path.join('bsp/artinchip/sys/' + PRJ_CHIP, 'SConscript')
abs_path = os.path.join(AIC_ROOT, rel_path)
if os.path.isfile(abs_path):
objs = objs + SConscript(rel_path)
# board
rel_path = os.path.join('target/' + PRJ_CHIP, PRJ_BOARD, 'SConscript')
abs_path = os.path.join(AIC_ROOT, rel_path)
if os.path.isfile(abs_path):
objs = objs + SConscript(rel_path)
# kernel/xxx
rel_path = os.path.join('kernel', PRJ_KERNEL, 'SConscript')
abs_path = os.path.join(AIC_ROOT, rel_path)
if os.path.isfile(abs_path):
objs = objs + SConscript(rel_path)
# kernel/common
rel_path = os.path.join('kernel', 'common', 'SConscript')
abs_path = os.path.join(AIC_ROOT, rel_path)
if os.path.isfile(abs_path):
objs = objs + SConscript(rel_path)
# bsp
rel_path = os.path.join('bsp', 'SConscript')
abs_path = os.path.join(AIC_ROOT, rel_path)
if os.path.isfile(abs_path):
objs = objs + SConscript(rel_path)
# packages
rel_path = os.path.join('packages', 'SConscript')
abs_path = os.path.join(AIC_ROOT, rel_path)
if os.path.isfile(abs_path):
objs = objs + SConscript(rel_path)
# app
rel_path = os.path.join('application', PRJ_KERNEL, PRJ_APP, 'SConscript')
abs_path = os.path.join(AIC_ROOT, rel_path)
if os.path.isfile(abs_path):
objs = objs + SConscript(rel_path)
Return('objs')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/artinchip/baremetal.git
git@gitee.com:artinchip/baremetal.git
artinchip
baremetal
Baremetal
master

搜索帮助