rt-thread/components/net/lwip_dhcpd/SConscript

15 lines
316 B
Python
Raw Normal View History

2015-01-31 10:48:28 +08:00
from building import *
cwd = GetCurrentDir()
if GetDepend('RT_USING_LWIP202') or GetDepend('RT_USING_LWIP212') :
src = ['dhcp_server_raw.c']
else:
src = ['dhcp_server.c']
2015-01-31 10:48:28 +08:00
CPPPATH = [cwd]
2017-10-24 11:58:55 +08:00
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH)
2015-01-31 10:48:28 +08:00
Return('group')