Skip to content

Commit 9a61b65

Browse files
committed
[lwip] 修复dhcpd没有包含2.0.3版本的问题
1 parent ead2464 commit 9a61b65

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

components/net/lwip_dhcpd/SConscript

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
from building import *
22

33
cwd = GetCurrentDir()
4+
CPPPATH = [cwd]
45

5-
if GetDepend('RT_USING_LWIP202') or GetDepend('RT_USING_LWIP212') :
6-
src = ['dhcp_server_raw.c']
7-
else:
6+
if GetDepend('RT_USING_LWIP141'):
87
src = ['dhcp_server.c']
9-
10-
CPPPATH = [cwd]
8+
else:
9+
src = ['dhcp_server_raw.c']
1110

1211
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH)
1312

0 commit comments

Comments
 (0)