[LWIP] update SConscript: add /src/include/posix to include path when RT_USING_DFS_NET not enable.

This commit is contained in:
aozima 2017-12-14 17:05:06 +08:00
parent 108a1434cd
commit bc2de526db
1 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,10 @@ path = [GetCurrentDir() + '/src',
GetCurrentDir() + '/src/arch/include',
GetCurrentDir() + '/src/include/netif']
if not GetDepend('RT_USING_POSIX') or not GetDepend('RT_USING_DFS_NET'):
path += [GetCurrentDir() + '/src/include/posix']
print('include /src/include/posix')
if GetDepend(['RT_LWIP_SNMP']):
src += snmp_src
path += [GetCurrentDir() + '/src/apps/snmp']