4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 05:19:23 +08:00
wuyangyong f9a41a9686 add sdram driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1754 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 05:06:46 +00:00

20 lines
418 B
Python

import rtconfig
Import('RTT_ROOT')
from building import *
src_bsp = ['application.c', 'startup.c', 'sdram.c', 'board.c']
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)
CPPPATH = [GetCurrentDir()]
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
Return('group')