summaryrefslogtreecommitdiff
path: root/nuttx/libc/misc/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/misc/Make.defs')
-rw-r--r--nuttx/libc/misc/Make.defs10
1 files changed, 10 insertions, 0 deletions
diff --git a/nuttx/libc/misc/Make.defs b/nuttx/libc/misc/Make.defs
index c09e78331..1e7a6ae05 100644
--- a/nuttx/libc/misc/Make.defs
+++ b/nuttx/libc/misc/Make.defs
@@ -42,18 +42,28 @@ CSRCS += lib_stream.c lib_filesem.c
ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
CSRCS += lib_sendfile.c
+
ifneq ($(CONFIG_NFILE_STREAMS),0)
CSRCS += lib_streamsem.c
endif
+ifeq ($(CONFIG_LIBC_IOCTL_VARIADIC),y)
+CSRCS += lib_ioctl.c
+endif
+
else
ifneq ($(CONFIG_NSOCKET_DESCRIPTORS),0)
CSRCS += lib_sendfile.c
+
ifneq ($(CONFIG_NFILE_STREAMS),0)
CSRCS += lib_streamsem.c
endif
+ifeq ($(CONFIG_LIBC_IOCTL_VARIADIC),y)
+CSRCS += lib_ioctl.c
+endif
+
endif
endif