summaryrefslogtreecommitdiff
path: root/nuttx/tools/mkconfig.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-05-26 19:22:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-05-26 19:22:34 +0000
commita0fcefa90d39c5510c3f62bdbd3f2f128f211d6b (patch)
tree1deba65ce2f157d8f25da5498676e306742887e8 /nuttx/tools/mkconfig.c
parentf93e30156c033d77182a052549a5e355a5d0a5a0 (diff)
downloadpx4-nuttx-a0fcefa90d39c5510c3f62bdbd3f2f128f211d6b.tar.gz
px4-nuttx-a0fcefa90d39c5510c3f62bdbd3f2f128f211d6b.tar.bz2
px4-nuttx-a0fcefa90d39c5510c3f62bdbd3f2f128f211d6b.zip
Finish FAT directory operations; add option to disable mountpoints; fix ARM compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@252 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/mkconfig.c')
-rw-r--r--nuttx/tools/mkconfig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/tools/mkconfig.c b/nuttx/tools/mkconfig.c
index 161fc60f7..b9c91598c 100644
--- a/nuttx/tools/mkconfig.c
+++ b/nuttx/tools/mkconfig.c
@@ -236,6 +236,12 @@ 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("/* If mountpoint support in not included, then no filesystem can\n");
+ printf(" * be supported.\n");
+ printf(" */\n\n");
+ printf("#ifdef CONFIG_DISABLE_MOUNTPOINT\n");
+ printf("# undef CONFIG_FS_FAT\n");
+ printf("#endif\n\n");
printf("/* Verbose debug only makes sense if debug is enabled */\n\n");
printf("#ifndef CONFIG_DEBUG\n");
printf("# undef CONFIG_DEBUG_VERBOSE\n");