2010-10-16 07:53:22 +08:00
|
|
|
Import('RTT_ROOT')
|
2010-11-20 20:31:00 +08:00
|
|
|
from building import *
|
2010-10-16 07:53:22 +08:00
|
|
|
|
2010-11-20 20:31:00 +08:00
|
|
|
src_bsp = ['application.c', 'startup.c', 'board.c']
|
2010-11-26 07:36:54 +08:00
|
|
|
if GetDepend('RT_USING_NEWLIB'):
|
|
|
|
src_bsp = src_bsp + ['newlib_stub.c']
|
|
|
|
|
2010-11-20 20:31:00 +08: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-16 07:53:22 +08:00
|
|
|
|
2010-11-20 20:31:00 +08:00
|
|
|
Return('group')
|