bsp: add basic configure files for abstract-machine

This commit is contained in:
Zihao Yu 2023-05-24 09:50:02 +08:00
parent e2376a3709
commit 072b83d547
5 changed files with 218 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# for module compiling
import os
from building import *
cwd = GetCurrentDir()
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'))
Return('objs')