Remove CONFIG_FS_READABLE/WRITABLE logic from tools/mkconfig.c. This logic has been replaced with proper logic in the Kconfig files, it is out of date and an ongoing maintenance problem, and it shoulw not be necessary.
This commit is contained in:
parent
a2a6c0b9a5
commit
d5be40be5f
@ -51,9 +51,9 @@ config FS_WRITABLE
|
||||
default n
|
||||
---help---
|
||||
Automatically selected if any writable file system is selected. If
|
||||
not selected, disable support for writing will be disabled in all
|
||||
block drivers and also the block-to-character (BCH) layer and the
|
||||
MTD FTL layer.
|
||||
not selected, support for writing will be disabled in all block
|
||||
drivers and also the block-to-character (BCH) layer and the MTD FTL
|
||||
layer.
|
||||
|
||||
This selection can also be manually selected. You might want to do
|
||||
this if there are no writable file systems enabled, but you still
|
||||
|
@ -225,18 +225,6 @@ int main(int argc, char **argv, char **envp)
|
||||
printf("# undef CONFIG_FS_BINFS\n");
|
||||
printf("# undef CONFIG_NFS\n");
|
||||
printf("#endif\n\n");
|
||||
printf("/* Check if any readable and writable filesystem (OR USB storage) is supported */\n\n");
|
||||
printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_FS_ROMFS) || defined(CONFIG_USBMSC) || \\\n");
|
||||
printf(" defined(CONFIG_FS_NXFFS) || defined(CONFIG_FS_SMARTFS) || defined(CONFIG_FS_BINFS) || \\\n");
|
||||
printf(" defined(CONFIG_NFS) || defined(CONFIG_FS_PROCFS)\n");
|
||||
printf("# undef CONFIG_FS_READABLE\n");
|
||||
printf("# define CONFIG_FS_READABLE 1\n");
|
||||
printf("#endif\n\n");
|
||||
printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_USBMSC) || defined(CONFIG_FS_NXFFS) || \\\n");
|
||||
printf(" defined(CONFIG_FS_SMARTFS) || defined(CONFIG_NFS)\n");
|
||||
printf("# undef CONFIG_FS_WRITABLE\n");
|
||||
printf("# define CONFIG_FS_WRITABLE 1\n");
|
||||
printf("#endif\n\n");
|
||||
printf("/* There can be no network support with no socket descriptors */\n\n");
|
||||
printf("#if CONFIG_NSOCKET_DESCRIPTORS <= 0\n");
|
||||
printf("# undef CONFIG_NET\n");
|
||||
|
Loading…
Reference in New Issue
Block a user