aboutsummaryrefslogtreecommitdiff
path: root/nuttx/lib/dirent/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/dirent/Make.defs')
-rw-r--r--nuttx/lib/dirent/Make.defs12
1 files changed, 10 insertions, 2 deletions
diff --git a/nuttx/lib/dirent/Make.defs b/nuttx/lib/dirent/Make.defs
index d9dc8c29b..cc1d6b783 100644
--- a/nuttx/lib/dirent/Make.defs
+++ b/nuttx/lib/dirent/Make.defs
@@ -33,8 +33,16 @@
#
############################################################################
-DIRENT_SRCS =
ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
-DIRENT_SRCS += lib_readdirr.c lib_telldir.c
+
+# Add the dirent C files to the build
+
+CSRCS += lib_readdirr.c lib_telldir.c
+
+# Add the dirent directory to the build
+
+DEPPATH += --dep-path dirent
+VPATH += :dirent
+
endif