2023-06-19 10:36:53 +08:00
|
|
|
# RT-Thread building script for bridge
|
2014-11-01 09:09:52 +08:00
|
|
|
|
2023-06-19 10:36:53 +08:00
|
|
|
import os
|
2014-11-01 09:09:52 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2023-06-19 10:36:53 +08:00
|
|
|
objs = []
|
|
|
|
list = os.listdir(cwd)
|
2014-11-01 09:09:52 +08:00
|
|
|
|
2023-06-19 10:36:53 +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'))
|
2015-02-01 16:17:06 +08:00
|
|
|
|
2023-06-19 10:36:53 +08:00
|
|
|
Return('objs')
|