From a97d70066b9626018801d87c7dba35939c005e94 Mon Sep 17 00:00:00 2001 From: armink Date: Fri, 18 Aug 2017 12:10:28 +0800 Subject: [PATCH] [LWIP] Add LwIP apps SConscript. --- components/net/lwip-2.0.2/src/apps/SConscript | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 components/net/lwip-2.0.2/src/apps/SConscript 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