4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 16:03:30 +08:00

[net][at] Add AT Socket select LIBC configure.

This commit is contained in:
chenyong 2018-08-02 17:55:01 +08:00
parent a8d27156a3
commit c2add5cb4e
3 changed files with 4 additions and 2 deletions

View File

@ -61,6 +61,7 @@ if RT_USING_AT
config AT_USING_SOCKET
bool "Provide similar BSD Socket API by AT"
select RT_USING_LIBC
default n
endif

View File

@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/time.h>
#include <at_socket.h>

View File

@ -23,8 +23,8 @@ if GetDepend('SAL_USING_POSIX'):
if not GetDepend('HAVE_SYS_SELECT_H'):
CPPPATH += [cwd + '/include/dfs_net/sys_select']
if not GetDepend('HAVE_SYS_SOCKET_H'):
CPPPATH += [cwd + '/include/socket/sys_socket']
if not GetDepend('HAVE_SYS_SOCKET_H'):
CPPPATH += [cwd + '/include/socket/sys_socket']
group = DefineGroup('SAL', src, depend = ['RT_USING_SAL'], CPPPATH = CPPPATH)