18 lines
392 B
Python
18 lines
392 B
Python
import os
|
|
from building import *
|
|
|
|
objs = []
|
|
cwd = GetCurrentDir()
|
|
list = os.listdir(cwd)
|
|
|
|
for item in list:
|
|
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
|
|
objs = objs + SConscript(os.path.join(item, 'SConscript'))
|
|
|
|
CPPPATH = [cwd]
|
|
LOCAL_CFLAGS = ''
|
|
|
|
objs = objs + DefineGroup('Drivers', [], depend = [], CPPPATH = CPPPATH, LOCAL_CFLAGS = LOCAL_CFLAGS)
|
|
|
|
Return('objs')
|