diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-08-23 15:16:10 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-08-23 15:16:10 +0000 |
commit | 872cf9f99f8b6e2a64781c0c6bc8aee6e35f5cb7 (patch) | |
tree | 27c66a47011dea19170420a26a954591f02e8c53 /nuttx/lib/Makefile | |
parent | b588aaaa96a83162f43a4ea409be382a01aa3812 (diff) | |
download | px4-nuttx-872cf9f99f8b6e2a64781c0c6bc8aee6e35f5cb7.tar.gz px4-nuttx-872cf9f99f8b6e2a64781c0c6bc8aee6e35f5cb7.tar.bz2 px4-nuttx-872cf9f99f8b6e2a64781c0c6bc8aee6e35f5cb7.zip |
Added ch and pwd to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@841 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/Makefile')
-rw-r--r-- | nuttx/lib/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/lib/Makefile b/nuttx/lib/Makefile index cf35a0541..a56cde66f 100644 --- a/nuttx/lib/Makefile +++ b/nuttx/lib/Makefile @@ -57,7 +57,7 @@ STDIO_SRCS = lib_printf.c lib_rawprintf.c lib_lowprintf.c lib_dbg.c \ lib_lowstream.c lib_nullstream.c lib_sscanf.c ifneq ($(CONFIG_NFILE_DESCRIPTORS),0) -STDIO_SRCS += lib_rawstream.c lib_chdir.c lib_getcwd.c lib_cwdsem.c +STDIO_SRCS += lib_rawstream.c ifneq ($(CONFIG_NFILE_STREAMS),0) STDIO_SRCS += lib_fopen.c lib_fclose.c lib_fread.c lib_libfread.c lib_fseek.c \ lib_fgetc.c lib_fgets.c lib_gets.c lib_fwrite.c lib_libfwrite.c \ @@ -72,6 +72,11 @@ STDLIB_SRCS = lib_rand.c MATH_SRCS = lib_rint.c UNISTD_SRCS = lib_getopt.c +ifneq ($(CONFIG_NFILE_DESCRIPTORS),0) +ifneq ($(CONFIG_DISABLE_ENVIRON),y) +UNISTD_SRCS += lib_chdir.c lib_getcwd.c +endif +endif NET_SRCS = lib_htons.c lib_htonl.c lib_inetntoa.c lib_etherntoa.c |