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
This commit is contained in:
patacongo
2012-08-13 22:27:06 +00:00
parent d5c4c4da8d
commit a72ff3b651
21 changed files with 201 additions and 103 deletions
+11 -6
View File
@@ -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
# Add the miscellaneous C files to the build
CRC_SRCS = lib_crc32.c
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