at_device/SConscript
chenyong ed5038dc25 【修改】适配 AT 组件文件及函数名称修改
Signed-off-by: chenyong <1521761801@qq.com>
2018-07-21 16:11:42 +08:00

17 lines
395 B
Python

from building import *
cwd = GetCurrentDir()
if GetDepend(['AT_DEVICE_M26']):
src = Glob('at_socket_m26.c')
if GetDepend(['AT_DEVICE_ESP8266']):
src = Glob('at_socket_esp8266.c')
if GetDepend(['AT_DEVICE_NOT_SELECTED']):
src = Glob('*.c')
group = DefineGroup('at_device', src, depend = ['PKG_USING_AT_DEVICE','AT_USING_SOCKET'], CPPPATH = [cwd])
Return('group')