From f1999a4cc02370a873caffd1670d67afa08783b0 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 8 Sep 2007 19:50:59 +0000 Subject: Implemented several options in set/getsockopts git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@334 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/net/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'nuttx/net/Makefile') 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 -- cgit v1.2.3