rt-thread-official/bsp/hc32/ev_hc32f4a0_lqfp176/board/ports/SConscript

13 lines
254 B
Python
Raw Permalink Normal View History

2024-01-09 21:56:37 +08:00
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')