stm32f103-template/rt-thread/components/net/lwip-dhcpd/SConscript

14 lines
281 B
Python
Raw Normal View History

2023-05-09 22:30:49 +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')