rt-thread-official/bsp/phytium/aarch32/SConscript

16 lines
343 B
Python
Raw Permalink Normal View History

# 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')