aboutsummaryrefslogtreecommitdiff
path: root/nuttx/lib/stdlib
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
commita72ff3b651c8b4a13c4791fb1829c94ed0ce88ed (patch)
treeea1871ae9b26cb5c840c71a8ed1fb70797aaa053 /nuttx/lib/stdlib
parentd5c4c4da8d1612ef8e24f7cd99bc3200c80e002d (diff)
downloadpx4-firmware-a72ff3b651c8b4a13c4791fb1829c94ed0ce88ed.tar.gz
px4-firmware-a72ff3b651c8b4a13c4791fb1829c94ed0ce88ed.tar.bz2
px4-firmware-a72ff3b651c8b4a13c4791fb1829c94ed0ce88ed.zip
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/stdlib')
-rw-r--r--nuttx/lib/stdlib/Make.defs8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/lib/stdlib/Make.defs b/nuttx/lib/stdlib/Make.defs
index 3119ecda4..76e285808 100644
--- a/nuttx/lib/stdlib/Make.defs
+++ b/nuttx/lib/stdlib/Make.defs
@@ -33,6 +33,12 @@
#
############################################################################
-STDLIB_SRCS = lib_abs.c lib_abort.c lib_imaxabs.c lib_labs.c lib_llabs.c \
+# Add the stdlib C files to the build
+
+CSRCS += lib_abs.c lib_abort.c lib_imaxabs.c lib_labs.c lib_llabs.c \
lib_rand.c lib_qsort.c
+# Add the stdlib directory to the build
+
+DEPPATH += --dep-path stdlib
+VPATH += :stdlib