2011-06-23 08:47:34 +08:00
|
|
|
import rtconfig
|
|
|
|
Import('RTT_ROOT')
|
|
|
|
from building import *
|
|
|
|
|
2011-10-11 13:06:46 +08:00
|
|
|
src_bsp = ['application.c', 'startup.c', 'sdram.c', 'board.c']
|
2011-06-23 08:47:34 +08:00
|
|
|
|
|
|
|
src_drv = []
|
|
|
|
if GetDepend('RT_USING_DFS'):
|
|
|
|
src_drv += ['sdcard.c']
|
|
|
|
|
|
|
|
if GetDepend('RT_USING_LWIP'):
|
|
|
|
|
|
|
|
src_drv += ['luminaryif.c']
|
|
|
|
|
|
|
|
src = File(src_bsp + src_drv)
|
2011-07-01 21:50:16 +08:00
|
|
|
CPPPATH = [GetCurrentDir()]
|
2011-06-23 08:47:34 +08:00
|
|
|
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|