Browse Source

[LWIP] Add LwIP apps SConscript.

armink 7 years ago
parent
commit
a97d70066b
1 changed files with 13 additions and 0 deletions
  1. 13 0
      components/net/lwip-2.0.2/src/apps/SConscript

+ 13 - 0
components/net/lwip-2.0.2/src/apps/SConscript

@@ -0,0 +1,13 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('tftp/*.c')
+
+if GetDepend(['RT_LWIP_ICMP', 'RT_LWIP_RAW']):
+    src += Glob('ping/*.c')
+
+CPPPATH = [cwd]
+
+group = DefineGroup('LwIP', src, depend = ['RT_USING_NETUTILS', 'RT_USING_LWIP202'], CPPPATH = CPPPATH)
+
+Return('group')