2013-07-12 18:14:39 +08:00
|
|
|
Import('RTT_ROOT')
|
|
|
|
Import('rtconfig')
|
|
|
|
from building import *
|
|
|
|
|
2016-04-03 21:39:33 +08:00
|
|
|
cwd = os.path.join(str(Dir('#')), 'applications')
|
|
|
|
|
|
|
|
src = Split("""
|
|
|
|
application.c
|
|
|
|
startup.c
|
|
|
|
""")
|
|
|
|
|
|
|
|
if GetDepend('RT_USING_CAN'):
|
|
|
|
src += ['canapp.c']
|
|
|
|
|
2013-07-12 18:14:39 +08:00
|
|
|
CPPPATH = [cwd, str(Dir('#'))]
|
|
|
|
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|