blob: a95361af00213e078215b3408e6ff40b385fcd01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# RT-Thread building script for bridge
import os
from building import *
cwd = GetCurrentDir()
objs = []
folder_list = os.listdir(cwd)
for folder in folder_list:
path = os.path.join(cwd, folder)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(folder, 'SConscript'))
Return('objs')
|