@@ -8,7 +8,7 @@ source "fs/ext4/Kconfig"
source "fs/reiserfs/Kconfig"
-source "fs/fat/Kconfig"
+source "fs/fat_orig/Kconfig"
source "fs/jffs2/Kconfig"
@@ -7,7 +7,7 @@
#
ifdef CONFIG_SPL_BUILD
-obj-$(CONFIG_SPL_FAT_SUPPORT) += fat/
+obj-$(CONFIG_SPL_FAT_SUPPORT) += fat_orig/
obj-$(CONFIG_SPL_EXT_SUPPORT) += ext4/
else
obj-y += fs.o
@@ -15,7 +15,7 @@ obj-y += fs.o
obj-$(CONFIG_CMD_CBFS) += cbfs/
obj-$(CONFIG_CMD_CRAMFS) += cramfs/
obj-$(CONFIG_FS_EXT4) += ext4/
-obj-y += fat/
+obj-y += fat_orig/
obj-$(CONFIG_CMD_JFFS2) += jffs2/
obj-$(CONFIG_CMD_REISER) += reiserfs/
obj-$(CONFIG_SANDBOX) += sandbox/
similarity index 100%
rename from fs/fat/Kconfig
rename to fs/fat_orig/Kconfig
similarity index 100%
rename from fs/fat/Makefile
rename to fs/fat_orig/Makefile
similarity index 100%
rename from fs/fat/fat.c
rename to fs/fat_orig/fat.c
similarity index 100%
rename from fs/fat/fat_write.c
rename to fs/fat_orig/fat_write.c
similarity index 100%
rename from fs/fat/file.c
rename to fs/fat_orig/file.c
A future patch will add a new implementation of the FAT filesystem in fat/. Move the old version to fat_orig/ so that the patches which add the new implementation can add it directly in the final location. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> --- fs/Kconfig | 2 +- fs/Makefile | 4 ++-- fs/{fat => fat_orig}/Kconfig | 0 fs/{fat => fat_orig}/Makefile | 0 fs/{fat => fat_orig}/fat.c | 0 fs/{fat => fat_orig}/fat_write.c | 0 fs/{fat => fat_orig}/file.c | 0 7 files changed, 3 insertions(+), 3 deletions(-) rename fs/{fat => fat_orig}/Kconfig (100%) rename fs/{fat => fat_orig}/Makefile (100%) rename fs/{fat => fat_orig}/fat.c (100%) rename fs/{fat => fat_orig}/fat_write.c (100%) rename fs/{fat => fat_orig}/file.c (100%)