tools/mkconfig.c: CONFIG_FS_SMARTFS must be included in the list of writable file systems

This commit is contained in:
Gregory Nutt 2013-11-15 07:33:39 -06:00
parent fb2988042e
commit 517546bb47
2 changed files with 5 additions and 2 deletions

View File

@ -6055,4 +6055,7 @@
* fs/fs_mount.c: SMART FS must be included in the conditional * fs/fs_mount.c: SMART FS must be included in the conditional
compilation for the set of file systems that require block compilation for the set of file systems that require block
drivers. From Daniel Palmer (2013-11-15). drivers. From Daniel Palmer (2013-11-15).
* tools/mkconfig.c: SMART FS must be included in the conditional
compilation for the set of writable file systems. Noted by
Daniel Palmer (2013-11-15).

View File

@ -223,14 +223,14 @@ int main(int argc, char **argv, char **envp)
printf("#endif\n\n"); printf("#endif\n\n");
printf("/* Check if any readable and writable filesystem (OR USB storage) is supported */\n\n"); printf("/* Check if any readable and writable filesystem (OR USB storage) is supported */\n\n");
printf("#undef CONFIG_FS_READABLE\n"); printf("#undef CONFIG_FS_READABLE\n");
printf("#undef CONFIG_FS_WRITABLE\n"); printf("#undef CONFIG_FS_WRITABLE\n\n");
printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_FS_ROMFS) || defined(CONFIG_USBMSC) || \\\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_FS_NXFFS) || defined(CONFIG_FS_SMARTFS) || defined(CONFIG_FS_BINFS) || \\\n");
printf(" defined(CONFIG_NFS)\n"); printf(" defined(CONFIG_NFS)\n");
printf("# define CONFIG_FS_READABLE 1\n"); printf("# define CONFIG_FS_READABLE 1\n");
printf("#endif\n\n"); printf("#endif\n\n");
printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_USBMSC) || defined(CONFIG_FS_NXFFS) || \\\n"); printf("#if defined(CONFIG_FS_FAT) || defined(CONFIG_USBMSC) || defined(CONFIG_FS_NXFFS) || \\\n");
printf(" defined(CONFIG_NFS)\n"); printf(" defined(CONFIG_FS_SMARTFS) || defined(CONFIG_NFS)\n");
printf("# define CONFIG_FS_WRITABLE 1\n"); printf("# define CONFIG_FS_WRITABLE 1\n");
printf("#endif\n\n"); printf("#endif\n\n");
printf("/* There can be no network support with no socket descriptors */\n\n"); printf("/* There can be no network support with no socket descriptors */\n\n");