From f08039ff6fc0c833bc7b257685e796e21482cc58 Mon Sep 17 00:00:00 2001 From: MurphyZhao Date: Thu, 1 Nov 2018 18:15:49 +0800 Subject: [PATCH] =?UTF-8?q?[components][net]=20=E6=9B=B4=E6=96=B0=20Kconfi?= =?UTF-8?q?g=20=E5=92=8C=20SConscript=EF=BC=8C=E6=94=AF=E6=8C=81=20LWIP210?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MurphyZhao --- components/net/Kconfig | 5 ++++- components/net/SConscript | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/net/Kconfig b/components/net/Kconfig index 091536680c..8f3b87f055 100644 --- a/components/net/Kconfig +++ b/components/net/Kconfig @@ -68,9 +68,12 @@ config RT_USING_LWIP config RT_USING_LWIP202 bool "lwIP v2.0.2" + + config RT_USING_LWIP210 + bool "lwIP v2.1.0" endchoice - if RT_USING_LWIP202 + if (RT_USING_LWIP210) config RT_USING_LWIP_IPV6 bool "IPV6 protocol" default n diff --git a/components/net/SConscript b/components/net/SConscript index 35b5fe46f9..0c59cd1c3c 100644 --- a/components/net/SConscript +++ b/components/net/SConscript @@ -8,7 +8,7 @@ cwd = GetCurrentDir() list = os.listdir(cwd) # the default version of LWIP is 2.0.2 -if not GetDepend('RT_USING_LWIP141') and not GetDepend('RT_USING_LWIP202'): +if not GetDepend('RT_USING_LWIP141') and not GetDepend('RT_USING_LWIP202') and not GetDepend('RT_USING_LWIP210'): AddDepend('RT_USING_LWIP202') for d in list: