diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-28 00:05:58 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-28 00:05:58 +0000 |
commit | 931bd2b8661c8ed4c923220490cbebc56d6c0065 (patch) | |
tree | 744ba3d223b0b158d74f077328ca226a19407d28 /nuttx/fs/fs_mount.c | |
parent | a67921192b48c4b0dcc5ac34d180c710ec6ea5d3 (diff) | |
download | px4-nuttx-931bd2b8661c8ed4c923220490cbebc56d6c0065.tar.gz px4-nuttx-931bd2b8661c8ed4c923220490cbebc56d6c0065.tar.bz2 px4-nuttx-931bd2b8661c8ed4c923220490cbebc56d6c0065.zip |
Re-organize header files so that file systems can be built outside of the nuttx tree; add a binfs file system to apps/namedapp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3428 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_mount.c')
-rw-r--r-- | nuttx/fs/fs_mount.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/fs/fs_mount.c b/nuttx/fs/fs_mount.c index aa0128d6f..02317ef19 100644 --- a/nuttx/fs/fs_mount.c +++ b/nuttx/fs/fs_mount.c @@ -1,7 +1,7 @@ /**************************************************************************** * fs/fs_mount.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -45,6 +45,10 @@ #include <errno.h> #include <nuttx/fs.h> +#ifdef CONFIG_APPS_BINDIR +# include <apps/apps.h> +#endif + #include "fs_internal.h" /* At least one filesystem must be defined, or this file will not compile. @@ -88,6 +92,9 @@ static const struct fsmap_t g_fsmap[] = #ifdef CONFIG_FS_ROMFS { "romfs", &romfs_operations }, #endif +#ifdef CONFIG_APPS_BINDIR + { "binfs", &binfs_operations }, +#endif { NULL, NULL }, }; |