mirror of
https://github.com/apache/nuttx.git
synced 2026-08-03 05:09:00 +00:00
net: always compile listen.c and accept.c when enable CONFIG_NET
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
5ee16ee684
commit
93bdecf2c3
1 changed files with 2 additions and 13 deletions
|
|
@ -20,24 +20,13 @@
|
|||
|
||||
# Include socket source files
|
||||
|
||||
SOCK_CSRCS += bind.c connect.c getsockname.c getpeername.c
|
||||
SOCK_CSRCS += recv.c recvfrom.c send.c sendto.c
|
||||
SOCK_CSRCS += accept.c bind.c connect.c getsockname.c getpeername.c
|
||||
SOCK_CSRCS += listen.c recv.c recvfrom.c send.c sendto.c
|
||||
SOCK_CSRCS += socket.c socketpair.c net_close.c
|
||||
SOCK_CSRCS += recvmsg.c sendmsg.c
|
||||
SOCK_CSRCS += net_dup2.c net_sockif.c net_poll.c net_vfcntl.c
|
||||
SOCK_CSRCS += net_fstat.c
|
||||
|
||||
# TCP/IP support
|
||||
|
||||
ifeq ($(CONFIG_NET_TCP),y)
|
||||
SOCK_CSRCS += listen.c accept.c
|
||||
|
||||
# Local Unix domain support
|
||||
|
||||
else ifeq ($(CONFIG_NET_LOCAL_STREAM),y)
|
||||
SOCK_CSRCS += listen.c accept.c
|
||||
endif
|
||||
|
||||
# Socket options
|
||||
|
||||
ifeq ($(CONFIG_NET_SOCKOPTS),y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue