2011-08-08 17:24:44 +08:00
|
|
|
Import('RTT_ROOT')
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
src_bsp = ['application.c', 'startup.c', 'board.c']
|
|
|
|
|
|
|
|
src_drv = ['uart.c']
|
|
|
|
|
2011-08-17 13:43:30 +08:00
|
|
|
if GetDepend('RT_USING_RTGUI'):
|
|
|
|
src_drv += ['display_controller.c']
|
|
|
|
|
2011-08-08 17:24:44 +08:00
|
|
|
src = File(src_bsp + src_drv)
|
|
|
|
CPPPATH = [GetCurrentDir()]
|
|
|
|
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|