summaryrefslogtreecommitdiff
path: root/nuttx/net/Makefile
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-13 17:11:01 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-13 17:11:01 -0600
commit7b7ea4c0431da13dd75cc1c2d8d032e8835fbf0e (patch)
tree6b3281f61fca2d7ad5958527437d27d4bb67785a /nuttx/net/Makefile
parent7a538c3fed7116f35c6e681b6f0aac4eb5845c6b (diff)
downloadnuttx-7b7ea4c0431da13dd75cc1c2d8d032e8835fbf0e.tar.gz
nuttx-7b7ea4c0431da13dd75cc1c2d8d032e8835fbf0e.tar.bz2
nuttx-7b7ea4c0431da13dd75cc1c2d8d032e8835fbf0e.zip
The first set of changes to incorporate Jason Jiangs TCP write buffering logic
Diffstat (limited to 'nuttx/net/Makefile')
-rw-r--r--nuttx/net/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/net/Makefile b/nuttx/net/Makefile
index 32c80b889..8549e5c57 100644
--- a/nuttx/net/Makefile
+++ b/nuttx/net/Makefile
@@ -1,7 +1,7 @@
############################################################################
# net/Makefile
#
-# Copyright (C) 2007, 2008, 2011-2013 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007, 2008, 2011-2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -41,13 +41,19 @@ ifeq ($(CONFIG_NET),y)
SOCK_ASRCS =
SOCK_CSRCS = bind.c connect.c getsockname.c recv.c recvfrom.c socket.c
-SOCK_CSRCS += sendto.c net_sockets.c net_close.c net_dup.c net_dup2.c
+SOCK_CSRCS += sendto.c net_sockets.c net_close.c net_dup.c net_dup2.c
SOCK_CSRCS += net_clone.c net_vfcntl.c
# TCP/IP support
ifeq ($(CONFIG_NET_TCP),y)
SOCK_CSRCS += send.c listen.c accept.c net_monitor.c
+
+ifeq ($(CONFIG_NET_TCP_WRBUFFER),y)
+SOCK_CSRCS += net_send_buffered.c
+else
+SOCK_CSRCS += net_send_unbuffered.c
+endif
endif
# Socket options