You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
328 B
16 lines
328 B
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')
|
|
|