rt-thread-official/bsp/stm32/stm32l476-st-nucleo/SConscript

15 lines
299 B
Python
Raw Normal View History

2019-02-01 09:43:31 +08:00
# RT-Thread scons bridge
2019-01-28 19:24:33 +08:00
import os
2019-02-01 09:43:31 +08:00
from building import *
2019-01-28 19:24:33 +08:00
2019-02-01 09:43:31 +08:00
cwd = GetCurrentDir()
2019-01-28 19:24:33 +08:00
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')