[Net] Add `RT_USING_NETUTILS` to LwIP 2.0.2 SConscript.

This commit is contained in:
armink 2017-08-10 16:54:42 +08:00
parent ca6b74200c
commit 640fd7d872
1 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,10 @@ if GetDepend(['RT_LWIP_PPP']):
src += ppp_src src += ppp_src
path += [GetCurrentDir() + '/src/netif/ppp'] 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) group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP202'], CPPPATH = path)
Return('group') Return('group')