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.
17 lines
349 B
17 lines
349 B
10 months ago
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
src = Glob('*.c')
|
||
|
|
||
|
CPPPATH = [cwd]
|
||
|
|
||
|
if GetDepend('RT_USING_LWIP') == False:
|
||
|
SrcRemove(src, 'mii.c')
|
||
|
SrcRemove(src, 'synopGMAC.c')
|
||
|
SrcRemove(src, 'synopGMAC_Dev.c')
|
||
|
SrcRemove(src, 'synopGMAC_plat.c')
|
||
|
|
||
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|