From 640fd7d872ef868b8ef7df9ed5f960738eb2bacb Mon Sep 17 00:00:00 2001 From: armink Date: Thu, 10 Aug 2017 16:54:42 +0800 Subject: [PATCH] [Net] Add `RT_USING_NETUTILS` to LwIP 2.0.2 SConscript. --- components/net/lwip-2.0.2/SConscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/net/lwip-2.0.2/SConscript b/components/net/lwip-2.0.2/SConscript index 631e4c1e6b..1007e77b77 100644 --- a/components/net/lwip-2.0.2/SConscript +++ b/components/net/lwip-2.0.2/SConscript @@ -75,6 +75,10 @@ if GetDepend(['RT_LWIP_SNMP']): if GetDepend(['RT_LWIP_PPP']): src += ppp_src path += [GetCurrentDir() + '/src/netif/ppp'] + +# For testing apps +if GetDepend(['RT_USING_NETUTILS']): + src += Glob('./apps/*.c') group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP202'], CPPPATH = path)