rt-thread/bsp/gkipc/libraries/drv/7102C/SConscript

16 lines
279 B
Python
Raw Normal View History

2018-03-04 08:21:19 +08:00
# for module compiling
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'))
Return('objs')