mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 06:19:22 +08:00
15 lines
282 B
Python
15 lines
282 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
if GetDepend('RT_USING_LWIP202'):
|
|
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')
|