You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
645 B
30 lines
645 B
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd]
|
|
|
|
src = Split('''
|
|
wlan_dev.c
|
|
''')
|
|
|
|
if GetDepend(['RT_WLAN_MANAGE_ENABLE']):
|
|
src += ['wlan_mgnt.c']
|
|
|
|
if GetDepend(['RT_WLAN_MSH_CMD_ENABLE']):
|
|
src += ['wlan_cmd.c']
|
|
|
|
if GetDepend(['RT_WLAN_PROT_ENABLE']):
|
|
src += ['wlan_prot.c']
|
|
|
|
if GetDepend(['RT_WLAN_PROT_LWIP_ENABLE']):
|
|
src += ['wlan_lwip.c']
|
|
|
|
if GetDepend(['RT_WLAN_CFG_ENABLE']):
|
|
src += ['wlan_cfg.c']
|
|
|
|
if GetDepend(['RT_WLAN_WORK_THREAD_ENABLE']):
|
|
src += ['wlan_workqueue.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_WIFI'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|
|
|