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: [PATCH] =?UTF-8?q?[lwip]=20=E4=BF=AE=E5=A4=8Ddhcpd=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=8C=85=E5=90=AB2.0.3=E7=89=88=E6=9C=AC=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/net/lwip_dhcpd/SConscript | 11 +++++------ 1 file changed, 5 insertions(+), 6 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,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')