summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-11-15 09:49:27 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-11-15 09:49:27 -0600
commit26f6e9f2200bb058a86f1ec9aed78bbd447da91c (patch)
tree20a9a41e663bb8479c12ec6d5f5657df09622fe0 /nuttx/fs
parent6ce7e02551987f0b8643e02de47f808dd894f42c (diff)
downloadpx4-nuttx-26f6e9f2200bb058a86f1ec9aed78bbd447da91c.tar.gz
px4-nuttx-26f6e9f2200bb058a86f1ec9aed78bbd447da91c.tar.bz2
px4-nuttx-26f6e9f2200bb058a86f1ec9aed78bbd447da91c.zip
Alloc CONFIG_FS_READABLE/WRITABLE to be defined in Kconfig files while preserving backward compatibility with legacy configurations (for the time being)
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/Kconfig8
-rw-r--r--nuttx/fs/binfs/Kconfig1
-rw-r--r--nuttx/fs/fat/Kconfig2
-rw-r--r--nuttx/fs/nfs/Kconfig2
-rw-r--r--nuttx/fs/nxffs/Kconfig2
-rw-r--r--nuttx/fs/procfs/Kconfig3
-rw-r--r--nuttx/fs/romfs/Kconfig1
-rw-r--r--nuttx/fs/smartfs/Kconfig2
8 files changed, 20 insertions, 1 deletions
diff --git a/nuttx/fs/Kconfig b/nuttx/fs/Kconfig
index 5570b26b4..b7f3f059d 100644
--- a/nuttx/fs/Kconfig
+++ b/nuttx/fs/Kconfig
@@ -9,6 +9,14 @@ config DISABLE_MOUNTPOINT
bool "Disable support for mount points"
default n
+config FS_READABLE
+ bool
+ default n
+
+config FS_WRITABLE
+ bool
+ default n
+
source fs/mmap/Kconfig
source fs/fat/Kconfig
source fs/nfs/Kconfig
diff --git a/nuttx/fs/binfs/Kconfig b/nuttx/fs/binfs/Kconfig
index eedbe497d..6ec155f93 100644
--- a/nuttx/fs/binfs/Kconfig
+++ b/nuttx/fs/binfs/Kconfig
@@ -7,6 +7,7 @@ config FS_BINFS
bool "BINFS File System"
default n
depends on BUILTIN
+ select FS_READABLE
---help---
The BINFS file system is provides access to builtin applications through
the NuttX file system. The BINFS may, for example, be mount at /bin.
diff --git a/nuttx/fs/fat/Kconfig b/nuttx/fs/fat/Kconfig
index 3f322c626..175ddf20d 100644
--- a/nuttx/fs/fat/Kconfig
+++ b/nuttx/fs/fat/Kconfig
@@ -7,6 +7,8 @@ config FS_FAT
bool "FAT file system"
default n
depends on !DISABLE_MOUNTPOINT
+ select FS_READABLE
+ select FS_WRITABLE
---help---
Enable FAT filesystem support
diff --git a/nuttx/fs/nfs/Kconfig b/nuttx/fs/nfs/Kconfig
index 3838efffa..c9d944b64 100644
--- a/nuttx/fs/nfs/Kconfig
+++ b/nuttx/fs/nfs/Kconfig
@@ -7,6 +7,8 @@ config NFS
bool "NFS client file system"
default n
depends on NET && !DISABLE_MOUNTPOINT
+ select FS_READABLE
+ select FS_WRITABLE
---help---
Enable network file system (NFS) client file system
diff --git a/nuttx/fs/nxffs/Kconfig b/nuttx/fs/nxffs/Kconfig
index aa4c603ec..dc05c93df 100644
--- a/nuttx/fs/nxffs/Kconfig
+++ b/nuttx/fs/nxffs/Kconfig
@@ -7,6 +7,8 @@ config FS_NXFFS
bool "NXFFS file system"
default n
depends on !DISABLE_MOUNTPOINT
+ select FS_READABLE
+ select FS_WRITABLE
---help---
Enable NuttX FLASH file system (NXFF) support.
diff --git a/nuttx/fs/procfs/Kconfig b/nuttx/fs/procfs/Kconfig
index 15e4e46da..9f20aa672 100644
--- a/nuttx/fs/procfs/Kconfig
+++ b/nuttx/fs/procfs/Kconfig
@@ -6,8 +6,9 @@
config FS_PROCFS
bool "PROCFS File System"
default n
+ select FS_WRITABLE
---help---
The PROCFS file system is provides access to task status through the
NuttX file system. The PROCFS may, for example, be mount at /proc.
Then information about all of the currently active tasks and threads
- will be available in proc/. \ No newline at end of file
+ will be available in proc/.
diff --git a/nuttx/fs/romfs/Kconfig b/nuttx/fs/romfs/Kconfig
index 6a91011ab..d7dd79639 100644
--- a/nuttx/fs/romfs/Kconfig
+++ b/nuttx/fs/romfs/Kconfig
@@ -7,6 +7,7 @@ config FS_ROMFS
bool "ROMFS file system"
default n
depends on !DISABLE_MOUNTPOINT
+ select FS_READABLE
---help---
Enable ROMFS filesystem support
diff --git a/nuttx/fs/smartfs/Kconfig b/nuttx/fs/smartfs/Kconfig
index b082092e3..73910d91d 100644
--- a/nuttx/fs/smartfs/Kconfig
+++ b/nuttx/fs/smartfs/Kconfig
@@ -7,6 +7,8 @@ config FS_SMARTFS
bool "SMART file system"
default n
depends on !DISABLE_MOUNTPOINT
+ select FS_READABLE
+ select FS_WRITABLE
---help---
Enable NuttX SMART Flash file system (SMARTFS) support.