[U-Boot] [PATCH 2/9] fat: move to a different directory

Stephen Warren swarren at wwwdotorg.org
Sat Aug 8 05:09:23 CEST 2015


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 at 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%)

diff --git a/fs/Kconfig b/fs/Kconfig
index 41bb0b9f3a47..6017a0136012 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -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"
 
diff --git a/fs/Makefile b/fs/Makefile
index 51d06fccb61e..1614650fb6fe 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -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/
diff --git a/fs/fat/Kconfig b/fs/fat_orig/Kconfig
similarity index 100%
rename from fs/fat/Kconfig
rename to fs/fat_orig/Kconfig
diff --git a/fs/fat/Makefile b/fs/fat_orig/Makefile
similarity index 100%
rename from fs/fat/Makefile
rename to fs/fat_orig/Makefile
diff --git a/fs/fat/fat.c b/fs/fat_orig/fat.c
similarity index 100%
rename from fs/fat/fat.c
rename to fs/fat_orig/fat.c
diff --git a/fs/fat/fat_write.c b/fs/fat_orig/fat_write.c
similarity index 100%
rename from fs/fat/fat_write.c
rename to fs/fat_orig/fat_write.c
diff --git a/fs/fat/file.c b/fs/fat_orig/file.c
similarity index 100%
rename from fs/fat/file.c
rename to fs/fat_orig/file.c
-- 
1.9.1



More information about the U-Boot mailing list