2023-04-04 15:02:56 +08:00
|
|
|
# RT-Thread building script for bridge
|
|
|
|
|
2021-11-15 02:04:03 +08:00
|
|
|
import os
|
2023-04-04 15:02:56 +08:00
|
|
|
from building import *
|
2013-01-08 22:40:58 +08:00
|
|
|
|
2015-04-03 22:26:18 +08:00
|
|
|
cwd = GetCurrentDir()
|
2023-04-04 15:02:56 +08:00
|
|
|
objs = []
|
|
|
|
list = os.listdir(cwd)
|
2017-10-15 22:44:53 +08:00
|
|
|
|
2023-04-04 15:02:56 +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'))
|
2013-01-08 22:40:58 +08:00
|
|
|
|
2023-04-04 15:02:56 +08:00
|
|
|
Return('objs')
|