summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorarmink <[email protected]>2017-08-18 12:10:28 +0800
committerarmink <[email protected]>2017-08-18 12:10:28 +0800
commita97d70066b9626018801d87c7dba35939c005e94 (patch)
treeff5abb1c0da438508ad56e1441eb85a186bb5002 /components
parent871297747a1aea9c0f3868640856aab97377eea5 (diff)
[LWIP] Add LwIP apps SConscript.
Diffstat (limited to 'components')
-rw-r--r--components/net/lwip-2.0.2/src/apps/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/net/lwip-2.0.2/src/apps/SConscript b/components/net/lwip-2.0.2/src/apps/SConscript
new file mode 100644
index 0000000000..2bc01cc16e
--- /dev/null
+++ b/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') \ No newline at end of file