4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 13:49:22 +08:00
dzzxzz@gmail.com a97ed29249 update the sam7x project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2189 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-27 00:59:28 +00:00

17 lines
351 B
Python

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