Merge pull request #5459 from mysterywolf/aaaaa
This commit is contained in:
commit
3b942f896b
|
@ -1,14 +1,13 @@
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
|
|
||||||
if GetDepend('RT_USING_LWIP202') or GetDepend('RT_USING_LWIP212') :
|
|
||||||
src = ['dhcp_server_raw.c']
|
|
||||||
else:
|
|
||||||
src = ['dhcp_server.c']
|
|
||||||
|
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
|
if GetDepend('RT_USING_LWIP141'):
|
||||||
|
src = ['dhcp_server.c']
|
||||||
|
else:
|
||||||
|
src = ['dhcp_server_raw.c']
|
||||||
|
|
||||||
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH)
|
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
Loading…
Reference in New Issue