2022-11-22 11:08:02 +08:00
|
|
|
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'))
|
|
|
|
|
2023-06-04 13:00:38 +08:00
|
|
|
CPPPATH = [cwd]
|
|
|
|
LOCAL_CFLAGS = ''
|
|
|
|
|
|
|
|
objs = objs + DefineGroup('Drivers', [], depend = [], CPPPATH = CPPPATH, LOCAL_CFLAGS = LOCAL_CFLAGS)
|
|
|
|
|
2022-11-22 11:08:02 +08:00
|
|
|
Return('objs')
|