[LWIP] Add LwIP apps SConscript.

This commit is contained in:
armink 2017-08-18 12:10:28 +08:00
parent 871297747a
commit a97d70066b
1 changed files with 13 additions and 0 deletions

View File

@ -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')