diff options
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/ext4/Makefile | 7 | ||||
| -rw-r--r-- | fs/ext4/ext4_common.c | 2 | ||||
| -rw-r--r-- | fs/ext4/ext4_common.h | 4 | ||||
| -rw-r--r-- | fs/ext4/ext4fs.c | 2 | ||||
| -rw-r--r-- | fs/fat/Makefile | 4 | 
5 files changed, 8 insertions, 11 deletions
| diff --git a/fs/ext4/Makefile b/fs/ext4/Makefile index 82cd9ae16..bb801f905 100644 --- a/fs/ext4/Makefile +++ b/fs/ext4/Makefile @@ -30,11 +30,8 @@ include $(TOPDIR)/config.mk  LIB	= $(obj)libext4fs.o  AOBJS	= -COBJS-$(CONFIG_CMD_EXT4) := ext4fs.o ext4_common.o dev.o -ifndef CONFIG_CMD_EXT4 -COBJS-$(CONFIG_CMD_EXT2) := ext4fs.o ext4_common.o dev.o -endif -COBJS-$(CONFIG_CMD_EXT4_WRITE) += ext4_journal.o crc16.o +COBJS-$(CONFIG_FS_EXT4) := ext4fs.o ext4_common.o dev.o +COBJS-$(CONFIG_EXT4_WRITE) += ext4_journal.o crc16.o  SRCS	:= $(AOBJS:.o=.S) $(COBJS-y:.o=.c)  OBJS	:= $(addprefix $(obj),$(AOBJS) $(COBJS-y)) diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c index d6d55b9ff..323875fa9 100644 --- a/fs/ext4/ext4_common.c +++ b/fs/ext4/ext4_common.c @@ -56,7 +56,7 @@ int ext4fs_indir3_blkno = -1;  struct ext2_inode *g_parent_inode;  static int symlinknest; -#if defined(CONFIG_CMD_EXT4_WRITE) +#if defined(CONFIG_EXT4_WRITE)  uint32_t ext4fs_div_roundup(uint32_t size, uint32_t n)  {  	uint32_t res = size / n; diff --git a/fs/ext4/ext4_common.h b/fs/ext4/ext4_common.h index f72813418..87cab168e 100644 --- a/fs/ext4/ext4_common.h +++ b/fs/ext4/ext4_common.h @@ -37,7 +37,7 @@  #include <ext4fs.h>  #include <malloc.h>  #include <asm/errno.h> -#if defined(CONFIG_CMD_EXT4_WRITE) +#if defined(CONFIG_EXT4_WRITE)  #include "ext4_journal.h"  #include "crc16.h"  #endif @@ -71,7 +71,7 @@ int ext4fs_find_file(const char *path, struct ext2fs_node *rootnode,  int ext4fs_iterate_dir(struct ext2fs_node *dir, char *name,  			struct ext2fs_node **fnode, int *ftype); -#if defined(CONFIG_CMD_EXT4_WRITE) +#if defined(CONFIG_EXT4_WRITE)  uint32_t ext4fs_div_roundup(uint32_t size, uint32_t n);  int ext4fs_checksum_update(unsigned int i);  int ext4fs_get_parent_inode_num(const char *dirname, char *dname, int flags); diff --git a/fs/ext4/ext4fs.c b/fs/ext4/ext4fs.c index 3a5ef20a4..06536baf6 100644 --- a/fs/ext4/ext4fs.c +++ b/fs/ext4/ext4fs.c @@ -196,7 +196,7 @@ int ext4fs_read(char *buf, unsigned len)  	return ext4fs_read_file(ext4fs_file, 0, len, buf);  } -#if defined(CONFIG_CMD_EXT4_WRITE) +#if defined(CONFIG_EXT4_WRITE)  static void ext4fs_update(void)  {  	short i; diff --git a/fs/fat/Makefile b/fs/fat/Makefile index 02e688167..969715bf9 100644 --- a/fs/fat/Makefile +++ b/fs/fat/Makefile @@ -24,11 +24,11 @@ include $(TOPDIR)/config.mk  LIB	= $(obj)libfat.o  AOBJS	= -COBJS-$(CONFIG_CMD_FAT)	:= fat.o +COBJS-$(CONFIG_FS_FAT)	:= fat.o  COBJS-$(CONFIG_FAT_WRITE):= fat_write.o  ifndef CONFIG_SPL_BUILD -COBJS-$(CONFIG_CMD_FAT)	+= file.o +COBJS-$(CONFIG_FS_FAT)	+= file.o  endif  SRCS	:= $(AOBJS:.o=.S) $(COBJS-y:.o=.c) |