bsp: add basic configure files for abstract-machine
This commit is contained in:
parent
e2376a3709
commit
072b83d547
5 changed files with 218 additions and 0 deletions
14
bsp/abstract-machine/SConscript
Normal file
14
bsp/abstract-machine/SConscript
Normal 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')
|
Loading…
Add table
Add a link
Reference in a new issue