package/kernel: move kmod-fs-mbcache into fs-ext4
mbcache is only needed if xattr support is enabled, but this is only true for ext4 on 2.6.37+, so just bundle it with ext4 when needed. SVN-Revision: 27849
This commit is contained in:
parent
8fc2981bcd
commit
eb90f30ce7
1 changed files with 9 additions and 23 deletions
|
@ -76,7 +76,7 @@ define KernelPackage/fs-ext2
|
|||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=EXT2 filesystem support
|
||||
KCONFIG:=CONFIG_EXT2_FS
|
||||
DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) @LINUX_2_6_30||LINUX_2_6_31
|
||||
DEPENDS:=@LINUX_2_6_30||LINUX_2_6_31
|
||||
FILES:=$(LINUX_DIR)/fs/ext2/ext2.ko
|
||||
AUTOLOAD:=$(call AutoLoad,32,ext2,1)
|
||||
endef
|
||||
|
@ -94,7 +94,7 @@ define KernelPackage/fs-ext3
|
|||
KCONFIG:= \
|
||||
CONFIG_EXT3_FS \
|
||||
CONFIG_JBD
|
||||
DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) @LINUX_2_6_30||LINUX_2_6_31
|
||||
DEPENDS:=@LINUX_2_6_30||LINUX_2_6_31
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/ext3/ext3.ko \
|
||||
$(LINUX_DIR)/fs/jbd/jbd.ko
|
||||
|
@ -114,11 +114,16 @@ define KernelPackage/fs-ext4
|
|||
KCONFIG:= \
|
||||
CONFIG_EXT4_FS \
|
||||
CONFIG_JBD2
|
||||
DEPENDS:= $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/ext4/ext4.ko \
|
||||
$(LINUX_DIR)/fs/jbd2/jbd2.ko
|
||||
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1)
|
||||
FILES+= \
|
||||
$(LINUX_DIR)/fs/mbcache.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
|
||||
else
|
||||
AUTOLOAD:=$(call AutoLoad,30,jbd2 ext4,1)
|
||||
endif
|
||||
$(call AddDepends/crc16)
|
||||
endef
|
||||
|
||||
|
@ -177,25 +182,6 @@ endef
|
|||
$(eval $(call KernelPackage,fs-isofs))
|
||||
|
||||
|
||||
define KernelPackage/fs-mbcache
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=mbcache (used by ext2/ext3/ext4)
|
||||
KCONFIG:=CONFIG_FS_MBCACHE
|
||||
ifneq ($(CONFIG_FS_MBCACHE),)
|
||||
FILES:=$(LINUX_DIR)/fs/mbcache.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,mbcache,1)
|
||||
endif
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-mbcache/description
|
||||
Meta Block cache used by ext2/ext3
|
||||
This package will only be installed if extended attributes
|
||||
are enabled for ext2/ext3
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-mbcache))
|
||||
|
||||
|
||||
define KernelPackage/fs-minix
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Minix filesystem support
|
||||
|
|
Loading…
Reference in a new issue