diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-30 07:09:25 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-30 07:09:25 -0600 |
commit | f7df5b9e04c7e60abe168053bb264bd5c19c03df (patch) | |
tree | 0d2b7b53cf369db6326182a823e3e21e38ba6a36 /nuttx/net/udp/Make.defs | |
parent | f770748bf2f8f22f88066683e96f8864725cbafa (diff) | |
download | px4-nuttx-f7df5b9e04c7e60abe168053bb264bd5c19c03df.tar.gz px4-nuttx-f7df5b9e04c7e60abe168053bb264bd5c19c03df.tar.bz2 px4-nuttx-f7df5b9e04c7e60abe168053bb264bd5c19c03df.zip |
Networking: Separate out UDP poll logic from socket/net_poll.c into a new udp/udp_netpoll.c; Create a skeleton local/local_netpoll.c for future poll support on Unix domain sockets.
Diffstat (limited to 'nuttx/net/udp/Make.defs')
-rw-r--r-- | nuttx/net/udp/Make.defs | 12 |
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 |