You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
343 B
15 lines
343 B
# 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')
|
|
|