提交 0cbb1f08 编写于 作者: L liuxianliang

[fix] set default lwip stack for old bsp folder.

上级 0e1266ac
......@@ -7,6 +7,11 @@ objs = []
cwd = GetCurrentDir()
list = os.listdir(cwd)
# In some old bsp folder, Only define RT_USING_LWIP but not define which of LWIP stack.
# For this reason, the default lwip stack will be set LWIP2.0.3.
if not GetDepend('RT_USING_LWIP141') and not GetDepend('RT_USING_LWIP202') and not GetDepend('RT_USING_LWIP203') and not GetDepend('RT_USING_LWIP212'):
AddDepend('RT_USING_LWIP203')
for item in list:
if item in remove_components:
continue
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册