diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-13 22:27:06 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-13 22:27:06 +0000 |
commit | a72ff3b651c8b4a13c4791fb1829c94ed0ce88ed (patch) | |
tree | ea1871ae9b26cb5c840c71a8ed1fb70797aaa053 /nuttx/lib/unistd | |
parent | d5c4c4da8d1612ef8e24f7cd99bc3200c80e002d (diff) | |
download | px4-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/unistd')
-rw-r--r-- | nuttx/lib/unistd/Make.defs | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/nuttx/lib/unistd/Make.defs b/nuttx/lib/unistd/Make.defs index 90f172406..e1441a48d 100644 --- a/nuttx/lib/unistd/Make.defs +++ b/nuttx/lib/unistd/Make.defs @@ -1,8 +1,8 @@ ############################################################################ # lib/unistd/Make.defs # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt <spudmonkey@racsa.co.cr> +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -33,10 +33,17 @@ # ############################################################################ -UNISTD_SRCS = lib_getopt.c lib_getoptargp.c lib_getoptindp.c lib_getoptoptp.c +# Add the unistd C files to the build + +CSRCS += lib_getopt.c lib_getoptargp.c lib_getoptindp.c lib_getoptoptp.c + ifneq ($(CONFIG_NFILE_DESCRIPTORS),0) ifneq ($(CONFIG_DISABLE_ENVIRON),y) -UNISTD_SRCS += lib_chdir.c lib_getcwd.c +CSRCS += lib_chdir.c lib_getcwd.c endif endif +# Add the unistd directory to the build + +DEPPATH += --dep-path unistd +VPATH += :unistd |