mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 07:33:33 +08:00
More NFS updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4638 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
+7
-1
@@ -78,7 +78,7 @@
|
||||
|
||||
/* These file systems do not require block drivers */
|
||||
|
||||
#if defined(CONFIG_FS_NXFFS) || defined(CONFIG_APPS_BINDIR)
|
||||
#if defined(CONFIG_FS_NXFFS) || defined(CONFIG_APPS_BINDIR) || defined(CONFIG_NFS)
|
||||
# define NONBDFS_SUPPORT
|
||||
#endif
|
||||
|
||||
@@ -120,12 +120,18 @@ static const struct fsmap_t g_bdfsmap[] =
|
||||
#ifdef CONFIG_FS_NXFFS
|
||||
extern const struct mountpt_operations nxffs_operations;
|
||||
#endif
|
||||
#ifdef CONFIG_NFS
|
||||
extern const struct mountpt_operations nfs_operations;
|
||||
#endif
|
||||
|
||||
static const struct fsmap_t g_nonbdfsmap[] =
|
||||
{
|
||||
#ifdef CONFIG_FS_NXFFS
|
||||
{ "nxffs", &nxffs_operations },
|
||||
#endif
|
||||
#ifdef CONFIG_NFS
|
||||
{ "nfs", &nfs_operations },
|
||||
#endif
|
||||
#ifdef CONFIG_APPS_BINDIR
|
||||
{ "binfs", &binfs_operations },
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user