smart-green-house/rtt-uart-nb/rt-thread/components/net/lwip_dhcpd/SConscript

15 lines
316 B
Python
Raw Normal View History

2023-10-28 18:00:47 +08:00
from building import *
cwd = GetCurrentDir()
if GetDepend('RT_USING_LWIP202') or GetDepend('RT_USING_LWIP210') :
src = ['dhcp_server_raw.c']
else:
src = ['dhcp_server.c']
CPPPATH = [cwd]
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH)
Return('group')