mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-16 09:08:56 +00:00
v1.0.3
This commit is contained in:
21
application/freertos/helloworld/SConscript
Normal file
21
application/freertos/helloworld/SConscript
Normal file
@@ -0,0 +1,21 @@
|
||||
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')
|
||||
Reference in New Issue
Block a user