summaryrefslogtreecommitdiffstats
path: root/nuttx/lib/misc
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-13 22:27:06 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-13 22:27:06 +0000
commit3dc9e4353aa65428260d7a15259bca5989a597ab (patch)
treeea1871ae9b26cb5c840c71a8ed1fb70797aaa053 /nuttx/lib/misc
parenta8e655720b80d9ed8ce905ea1fdee88c29cffe5f (diff)
Make the lib/ subdirectory build more like other directories
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5025 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/lib/misc')
-rw-r--r--nuttx/lib/misc/Make.defs17
1 files changed, 11 insertions, 6 deletions
diff --git a/nuttx/lib/misc/Make.defs b/nuttx/lib/misc/Make.defs
index 8892f71e60..484f822d0f 100644
--- a/nuttx/lib/misc/Make.defs
+++ b/nuttx/lib/misc/Make.defs
@@ -33,18 +33,23 @@
#
############################################################################
-MISC_SRCS = lib_init.c lib_filesem.c
+# Add the internal C files to the build
+
+CSRCS += lib_init.c lib_filesem.c
ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
ifneq ($(CONFIG_NFILE_STREAMS),0)
-MISC_SRCS += lib_streamsem.c
+CSRCS += lib_streamsem.c
endif
endif
-REGEX_SRCS = lib_match.c
-
-CRC_SRCS = lib_crc32.c
+# Add the miscellaneous C files to the build
-DBG_SRCS = lib_dbg.c lib_dumpbuffer.c
+CSRCS += lib_match.c
+CSRCS += lib_crc32.c
+CSRCS += lib_dbg.c lib_dumpbuffer.c
+# Add the misc directory to the build
+DEPPATH += --dep-path misc
+VPATH += :misc