aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-04-13 13:37:40 +0000
committerLars-Peter Clausen <lars@metafoo.de>2011-04-13 13:37:40 +0000
commitb56d5e27fa08a803efad1ef677b5154cf81c4003 (patch)
tree90ecb70076d5b0693e4c05e1242a4b17e936e593 /package
parentc5d516084c8663eca5f98271efa839bb7d73dc26 (diff)
downloadupstream-b56d5e27fa08a803efad1ef677b5154cf81c4003.tar.gz
upstream-b56d5e27fa08a803efad1ef677b5154cf81c4003.tar.bz2
upstream-b56d5e27fa08a803efad1ef677b5154cf81c4003.zip
kernel: revert r24160 (remove the bogus ext2/ext3 dependency on linux 2.6.30/31)
For kernel versions newer then 2.6.31 the ext4 module can be used to mount ext2/3 filesystems. Building ext2/3 as modules on the other hand breaks using ext4 for mounting ext2 or ext3, which breaks booting from ext2/3 on machines where the ext4 module is built into the kernel. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26645 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/fs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index 8b619f7475..c0df23f508 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -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)
+ DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) @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)
+ DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) @LINUX_2_6_30||LINUX_2_6_31
FILES:= \
$(LINUX_DIR)/fs/ext3/ext3.ko \
$(LINUX_DIR)/fs/jbd/jbd.ko