2022-12-03 12:07:44 +08:00
|
|
|
# RT-Thread building script for bridge
|
|
|
|
|
2018-08-27 15:37:08 +08:00
|
|
|
import os
|
2022-12-03 12:07:44 +08:00
|
|
|
from building import *
|
2018-08-27 15:37:08 +08:00
|
|
|
|
2022-12-03 12:07:44 +08:00
|
|
|
cwd = GetCurrentDir()
|
2018-08-27 15:37:08 +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')
|