summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-16 17:37:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-16 17:37:40 +0000
commita45f710f8fdb5b9cf11fbdcb2a74cb5007ea79fd (patch)
tree8e50d03ca5238eb88b8cc8125f8db19ba72436a9 /nuttx/tools
parentd980ce2cdc1816e4d5df9a1c2ff9e647c6cb7540 (diff)
downloadpx4-nuttx-a45f710f8fdb5b9cf11fbdcb2a74cb5007ea79fd.tar.gz
px4-nuttx-a45f710f8fdb5b9cf11fbdcb2a74cb5007ea79fd.tar.bz2
px4-nuttx-a45f710f8fdb5b9cf11fbdcb2a74cb5007ea79fd.zip
Fix bad conditional logic in mkconfig.c; Add user-mode pthread start-up logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5748 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools')
-rw-r--r--nuttx/tools/mkconfig.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/nuttx/tools/mkconfig.c b/nuttx/tools/mkconfig.c
index a622743a0..25ea88916 100644
--- a/nuttx/tools/mkconfig.c
+++ b/nuttx/tools/mkconfig.c
@@ -191,15 +191,6 @@ int main(int argc, char **argv, char **envp)
printf("# undef CONFIG_STDIO_BUFFER_SIZE\n");
printf("# define CONFIG_STDIO_BUFFER_SIZE 0\n");
printf("#endif\n\n");
- printf("/* We are building a kernel version of the C library, then some user-space features\n");
- printf(" * need to be disabled\n");
- printf(" */\n\n");
- printf("#if defined(CONFIG_NUTTX_KERNEL) && defined(__KERNEL__)\n");
- printf("# undef CONFIG_STDIO_BUFFER_SIZE\n");
- printf("# define CONFIG_STDIO_BUFFER_SIZE 0\n");
- printf("# undef CONFIG_NUNGET_CHARS\n");
- printf("# define CONFIG_NUNGET_CHARS 0\n");
- printf("#endif\n\n");
printf("/* If no standard C buffered I/O is not supported, then line-oriented buffering\n");
printf(" * cannot be supported.\n");
printf(" */\n\n");