summaryrefslogtreecommitdiff
path: root/nuttx/net/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-09-08 19:50:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-09-08 19:50:59 +0000
commitf1999a4cc02370a873caffd1670d67afa08783b0 (patch)
treeb852cb8f6b5074f322c9f5c28408d1fd6a7d9835 /nuttx/net/Makefile
parenta40d3bfbe2690c0aa60fb372646c21da3e7a1512 (diff)
downloadnuttx-f1999a4cc02370a873caffd1670d67afa08783b0.tar.gz
nuttx-f1999a4cc02370a873caffd1670d67afa08783b0.tar.bz2
nuttx-f1999a4cc02370a873caffd1670d67afa08783b0.zip
Implemented several options in set/getsockopts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@334 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/Makefile')
-rw-r--r--nuttx/net/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/net/Makefile b/nuttx/net/Makefile
index 2b514fe5e..6fd922649 100644
--- a/nuttx/net/Makefile
+++ b/nuttx/net/Makefile
@@ -41,7 +41,15 @@ MKDEP = $(TOPDIR)/tools/mkdeps.sh
ifeq ($(CONFIG_NET),y)
STD_ASRCS =
STD_CSRCS = socket.c bind.c connect.c send.c sendto.c recv.c recvfrom.c \
- setsockopt.c getsockopt.c net_sockets.c net-close.c
+ net_sockets.c net-close.c
+
+ifeq ($(CONFIG_NET_SOCKOPTS),y)
+STD_CSRCS += setsockopt.c getsockopt.c
+ifneq ($(CONFIG_DISABLE_CLOCK),y)
+STD_CSRCS += net_timeout.c net_dsec2timeval.c net_timeval2dsec.c
+endif
+endif
+
include uip/Make.defs
endif