6895da5307
* [net] adjust folder structure - 将lwip相关的文件夹,移入lwip文件夹 - Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu
14 lines
281 B
Python
14 lines
281 B
Python
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')
|