From 9a61b65c13433afd4613d9b6bd886d30a1300c93 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Thu, 30 Dec 2021 09:38:38 -0500 Subject: [lwip] 修复dhcpd没有包含2.0.3版本的问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/net/lwip_dhcpd/SConscript | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'components') 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) -- cgit v1.3.1