rt-thread/bsp/stm32/stm32l475-atk-pandora/board/ports/SConscript

13 lines
254 B
Python

import os
from building import *
objs = []
cwd = GetCurrentDir()
list = os.listdir(cwd)
for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
objs = objs + SConscript(os.path.join(item, 'SConscript'))
Return('objs')