mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
fs: separate CONFIG_FS_{FAT, EXT4} from CONFIG_CMD_{FAT, EXT*}
This makes the FAT and ext4 filesystem implementations build if CONFIG_FS_{FAT,EXT4} are defined, rather than basing the build on whether CONFIG_CMD_{FAT,EXT*} are defined. This will allow the filesystems to be built separately from the filesystem-specific commands that use them. This paves the way for the creation of filesystem-generic commands that used the filesystems, without requiring the filesystem- specific commands. Minor documentation changes are made for this change. The new config options are automatically selected by the old config options to retain backwards-compatibility. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
This commit is contained in:
@@ -116,7 +116,7 @@ struct ext_filesystem {
|
||||
extern struct ext2_data *ext4fs_root;
|
||||
extern struct ext2fs_node *ext4fs_file;
|
||||
|
||||
#if defined(CONFIG_CMD_EXT4_WRITE)
|
||||
#if defined(CONFIG_EXT4_WRITE)
|
||||
extern struct ext2_inode *g_parent_inode;
|
||||
extern int gd_index;
|
||||
extern int gindex;
|
||||
|
Reference in New Issue
Block a user