rt-thread/bsp/renesas/ra6m3-ek/board/ports/SConscript

17 lines
349 B
Python
Raw Normal View History

2023-02-22 18:22:33 +08:00
import os
2022-11-24 16:08:56 +08:00
from building import *
src = []
2023-02-22 18:22:33 +08:00
objs = []
cwd = GetCurrentDir()
CPPPATH = [cwd]
objs = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
2022-11-24 16:08:56 +08:00
2023-02-22 18:22:33 +08:00
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'))
2022-11-24 16:08:56 +08:00
2023-02-22 18:22:33 +08:00
Return('objs')