2011-10-08 21:23:20 +08:00
|
|
|
import rtconfig
|
|
|
|
Import('RTT_ROOT')
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
src_bsp = ['application.c', 'startup.c', 'board.c', 'led.c', 'console.c']
|
|
|
|
src_drv = ['serial.c', 'nand.c']
|
|
|
|
|
|
|
|
if GetDepend('RT_USING_RTGUI'):
|
|
|
|
src_drv += ['info.c']
|
|
|
|
|
|
|
|
src = src_bsp + src_drv
|
|
|
|
CPPPATH = [GetCurrentDir()]
|
|
|
|
CPPDEFINES = []
|
|
|
|
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
|
|
|
|
|
|
|
Return('group')
|