mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 02:18:54 +00:00
22 lines
463 B
Python
22 lines
463 B
Python
Import('RTT_ROOT')
|
|
Import('rtconfig')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
CPPPATH = [cwd, ]
|
|
|
|
CFLAGS = ' -c -ffunction-sections'
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CFLAGS=CFLAGS)
|
|
|
|
lst = os.listdir(cwd)
|
|
|
|
for item in lst:
|
|
ipath = '{}/SConscript'.format(item)
|
|
if os.path.isfile(cwd + '/' + ipath) == False:
|
|
continue
|
|
group = group + SConscript(ipath)
|
|
|
|
Return('group')
|