[lwip] 修复dhcpd没有包含2.0.3版本的问题
This commit is contained in:
parent
ead24644f0
commit
9a61b65c13
|
@ -1,14 +1,13 @@
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
|
||||
if GetDepend('RT_USING_LWIP202') or GetDepend('RT_USING_LWIP212') :
|
||||
src = ['dhcp_server_raw.c']
|
||||
else:
|
||||
src = ['dhcp_server.c']
|
||||
|
||||
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)
|
||||
|
||||
Return('group')
|
||||
|
|
Loading…
Reference in New Issue