2015-01-31 10:48:28 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2021-12-30 22:38:38 +08:00
|
|
|
CPPPATH = [cwd]
|
2018-06-19 18:37:06 +08:00
|
|
|
|
2021-12-30 22:38:38 +08:00
|
|
|
if GetDepend('RT_USING_LWIP141'):
|
2018-06-19 18:37:06 +08:00
|
|
|
src = ['dhcp_server.c']
|
2021-12-30 22:38:38 +08:00
|
|
|
else:
|
|
|
|
src = ['dhcp_server_raw.c']
|
2015-01-31 10:48:28 +08:00
|
|
|
|
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')
|