rt-thread/bsp/renesas/ebf_qi_min_6m5/board/SConscript

18 lines
392 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'))
CPPPATH = [cwd]
LOCAL_CFLAGS = ''
objs = objs + DefineGroup('Drivers', [], depend = [], CPPPATH = CPPPATH, LOCAL_CFLAGS = LOCAL_CFLAGS)
Return('objs')