summaryrefslogtreecommitdiff
path: root/nuttx/net/udp/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/udp/Make.defs')
-rw-r--r--nuttx/net/udp/Make.defs12
1 files changed, 9 insertions, 3 deletions
diff --git a/nuttx/net/udp/Make.defs b/nuttx/net/udp/Make.defs
index 9cbe77b3d..4cd7b9a1d 100644
--- a/nuttx/net/udp/Make.defs
+++ b/nuttx/net/udp/Make.defs
@@ -1,7 +1,7 @@
############################################################################
# net/udp/Make.defs
#
-# Copyright (C) 2014 Gregory Nutt. All rights reserved.
+# Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -41,9 +41,15 @@ ifeq ($(CONFIG_NET_UDP),y)
NET_CSRCS += udp_sendto.c
-# Tranport layer
+ifneq ($(CONFIG_DISABLE_POLL),y)
+ifeq ($(CONFIG_NET_UDP_READAHEAD),y)
+NET_CSRCS += udp_netpoll.c
+endif
+endif
-NET_CSRCS += udp_conn.c udp_poll.c udp_send.c udp_input.c udp_callback.c
+# Transport layer
+
+NET_CSRCS += udp_conn.c udp_devpoll.c udp_send.c udp_input.c udp_callback.c
NET_CSRCS += udp_ipselect.c
# Include UDP build support