rt-thread-official/components/drivers/sensor/SConscript

16 lines
314 B
Python
Raw Normal View History

# RT-Thread building script for bridge
2014-11-01 09:09:52 +08:00
import os
2014-11-01 09:09:52 +08:00
from building import *
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
2014-11-01 09:09:52 +08:00
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')