2010-10-15 23:53:22 +00:00
|
|
|
Import('RTT_ROOT')
|
2010-11-20 12:31:00 +00:00
|
|
|
from building import *
|
2010-10-15 23:53:22 +00:00
|
|
|
|
2010-11-20 12:31:00 +00:00
|
|
|
src_bsp = ['application.c', 'startup.c', 'board.c']
|
2010-11-25 23:36:54 +00:00
|
|
|
if GetDepend('RT_USING_NEWLIB'):
|
|
|
|
src_bsp = src_bsp + ['newlib_stub.c']
|
|
|
|
|
2010-11-20 12:31:00 +00:00
|
|
|
src_drv = ['uart.c', 'lnn800x480.c']
|
|
|
|
src = File(src_bsp + src_drv)
|
|
|
|
CPPPATH = [RTT_ROOT + '/bsp/dev3210']
|
|
|
|
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
|
2010-10-15 23:53:22 +00:00
|
|
|
|
2010-11-20 12:31:00 +00:00
|
|
|
Return('group')
|