aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-23 01:40:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-23 01:40:06 +0000
commitf807a418e76682a3b5f8c2c932486f8ca367ea3f (patch)
tree1f7fca0ac0d602f727e56ea3c5b4aa8f50bf171b /package
parenta080723e975aa126d31d69d6d4cb747849e9d3a5 (diff)
downloadupstream-f807a418e76682a3b5f8c2c932486f8ca367ea3f.tar.gz
upstream-f807a418e76682a3b5f8c2c932486f8ca367ea3f.tar.bz2
upstream-f807a418e76682a3b5f8c2c932486f8ca367ea3f.zip
fix ext3 compile (broken by [9822])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9869 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/fs.mk22
1 files changed, 20 insertions, 2 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index cf86411127..2a64c8b78a 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -62,10 +62,28 @@ endef
$(eval $(call KernelPackage,fs-ntfs))
+define KernelPackage/fs-mbcache
+ SUBMENU:=$(FS_MENU)
+ TITLE:=mbcache (used by ext2/ext3)
+ KCONFIG:=CONFIG_FS_MBCACHE
+ ifneq ($(CONFIG_FS_MBCACHE),)
+ FILES:=$(LINUX_DIR)/fs/mbcache.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,20,mbcache)
+ endif
+endef
+
+define KernelPackage/fs-ext2/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-ext2
SUBMENU:=$(FS_MENU)
TITLE:=EXT2 filesystem support
KCONFIG:=CONFIG_EXT2_FS
+ DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
FILES:=$(LINUX_DIR)/fs/ext2/ext2.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,30,ext2)
endef
@@ -83,11 +101,11 @@ define KernelPackage/fs-ext3
KCONFIG:= \
CONFIG_EXT3_FS \
CONFIG_JBD
+ DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
FILES:= \
$(LINUX_DIR)/fs/ext3/ext3.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/fs/mbcache.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/fs/jbd/jbd.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,mbcache jbd ext3)
+ AUTOLOAD:=$(call AutoLoad,30,jbd ext3)
endef
define KernelPackage/fs-ext3/description