2015-01-31 10:48:28 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2018-06-19 18:37:06 +08:00
|
|
|
|
2019-07-04 16:17:52 +08:00
|
|
|
if GetDepend('RT_USING_LWIP202') or GetDepend('RT_USING_LWIP210') :
|
2018-06-19 18:37:06 +08:00
|
|
|
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')
|