summaryrefslogtreecommitdiff
path: root/nuttx/lib/dirent/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-13 22:27:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-13 22:27:06 +0000
commit9613efa7df49054d033f769af97bbfa3ac82cc75 (patch)
treeea1871ae9b26cb5c840c71a8ed1fb70797aaa053 /nuttx/lib/dirent/Make.defs
parent582c2645281ccd428bc86f858d020e4dcf02fcbe (diff)
downloadpx4-nuttx-9613efa7df49054d033f769af97bbfa3ac82cc75.tar.gz
px4-nuttx-9613efa7df49054d033f769af97bbfa3ac82cc75.tar.bz2
px4-nuttx-9613efa7df49054d033f769af97bbfa3ac82cc75.zip
Make the lib/ subdirectory build more like other directories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5025 42af7a65-404d-4744-a932-0658087f49c3
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