[components][net] 更新 Kconfig 和 SConscript,支持 LWIP210
Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
parent
8455ad8797
commit
f08039ff6f
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue