diff options
| author | Meco Man <[email protected]> | 2021-12-30 09:38:38 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-12-30 20:02:01 -0500 |
| commit | 9a61b65c13433afd4613d9b6bd886d30a1300c93 (patch) | |
| tree | 27053fe8170ae3ab566f81c422fd9d07bb3f2128 /components | |
| parent | ead24644f008232f81e0408bfb15e99deff115bb (diff) | |
[lwip] 修复dhcpd没有包含2.0.3版本的问题
Diffstat (limited to 'components')
| -rw-r--r-- | components/net/lwip_dhcpd/SConscript | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/components/net/lwip_dhcpd/SConscript b/components/net/lwip_dhcpd/SConscript index 837eb043e4..e3de6df65c 100644 --- a/components/net/lwip_dhcpd/SConscript +++ b/components/net/lwip_dhcpd/SConscript @@ -1,13 +1,12 @@ from building import * cwd = GetCurrentDir() +CPPPATH = [cwd] -if GetDepend('RT_USING_LWIP202') or GetDepend('RT_USING_LWIP212') : - src = ['dhcp_server_raw.c'] -else: +if GetDepend('RT_USING_LWIP141'): src = ['dhcp_server.c'] - -CPPPATH = [cwd] +else: + src = ['dhcp_server_raw.c'] group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH) |
