[components][net] 更新 Kconfig 和 SConscript,支持 LWIP210

Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
MurphyZhao 2018-11-01 18:15:49 +08:00
parent 8455ad8797
commit f08039ff6f
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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: