diff options
Diffstat (limited to 'components/net/lwip/SConscript')
| -rw-r--r-- | components/net/lwip/SConscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/net/lwip/SConscript b/components/net/lwip/SConscript index 78b87eb548..adc16de628 100644 --- a/components/net/lwip/SConscript +++ b/components/net/lwip/SConscript @@ -80,6 +80,10 @@ if GetDepend(['RT_LWIP_PPP']): src += ppp_src
path += [RTT_ROOT + '/components/net/lwip/src/netif/ppp']
-group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'RT_LWIP_VER130'], CPPPATH = path)
+# For testing apps
+if GetDepend(['RT_USING_NETUTILS']):
+ src += Glob('./apps/*.c')
+
+group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP'], CPPPATH = path)
Return('group')
|
