rt-thread-stm32f072/rt-thread/components/net/lwip-dhcpd/SConscript

14 lines
281 B
Python
Raw Permalink Normal View History

2022-10-30 15:41:02 +08:00
from building import *
cwd = GetCurrentDir()
CPPPATH = [cwd]
if GetDepend('RT_USING_LWIP141'):
src = ['dhcp_server.c']
else:
src = ['dhcp_server_raw.c']
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH)
Return('group')