Merge pull request #5459 from mysterywolf/aaaaa

This commit is contained in:
guo 2022-01-04 18:47:34 +08:00 committed by GitHub
commit 3b942f896b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -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')