summaryrefslogtreecommitdiff
path: root/components/SConscript
diff options
context:
space:
mode:
authorguo <[email protected]>2021-06-28 13:32:29 +0800
committerGitHub <[email protected]>2021-06-28 13:32:29 +0800
commitb0a1f7f91d218503a8f92d4e49a15d790fa6674a (patch)
tree8e4d545977b18b4790d6a4f614a7fafc065cd171 /components/SConscript
parentc9fa432756c66ec6fc99ef735d1ec14e639c7a35 (diff)
parent0cbb1f08c1d22e64cbc4d1399dca25eded37af0f (diff)
Merge pull request #4824 from xiangxistu/lwip2.0.3
[add] the support of lwip 2.0.3.
Diffstat (limited to 'components/SConscript')
-rw-r--r--components/SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/SConscript b/components/SConscript
index 82efd7b2fe..88927f881c 100644
--- a/components/SConscript
+++ b/components/SConscript
@@ -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