22 lines
391 B
Python
22 lines
391 B
Python
Import('RTT_ROOT')
|
|
Import('rtconfig')
|
|
from building import *
|
|
|
|
cwd = os.path.join(str(Dir('#')), 'applications')
|
|
#src = Glob('*.c')
|
|
CPPPATH = [cwd, str(Dir('#'))]
|
|
|
|
src = Split("""
|
|
application.c
|
|
startup.c
|
|
""")
|
|
|
|
# add gpio drivers.
|
|
if GetDepend('RT_USING_GUIENGINE'):
|
|
src += ['rtgui_demo.c']
|
|
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|