bernard.xiong@gmail.com 19645fd350 prepare RT-Thread 1.1.0 alpha release.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2059 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 06:57:09 +00:00

17 lines
344 B
Python

from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
# remove no need file.
if GetDepend('RT_USING_LWIP') == False:
SrcRemove(src, 'emac.c')
if GetDepend('RT_USING_DFS') == False:
SrcRemove(src, 'sd.c')
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')