summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-01-30 00:50:06 +0000
committerNicolas Thill <nico@openwrt.org>2009-01-30 00:50:06 +0000
commitc8c15f3b9d0d1cb6fa12a1eff92bedb9e2177143 (patch)
tree556cef17e63c13e2645cebaa173ff5b083528270 /package/kernel
parent24f02449ff8a681108a11f7995871d52aa790dff (diff)
downloadmtk-20170518-c8c15f3b9d0d1cb6fa12a1eff92bedb9e2177143.zip
mtk-20170518-c8c15f3b9d0d1cb6fa12a1eff92bedb9e2177143.tar.gz
mtk-20170518-c8c15f3b9d0d1cb6fa12a1eff92bedb9e2177143.tar.bz2
accomodate a change in msdos.ko path that appeared on 2.6.28
SVN-Revision: 14273
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/fs.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index 176fed6..40b2c8d 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -237,11 +237,16 @@ endef
$(eval $(call KernelPackage,fs-nfsd))
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
+ MSDOS_DIR:=fat
+endif
+MSDOS_DIR?=msdos
+
define KernelPackage/fs-msdos
SUBMENU:=$(FS_MENU)
TITLE:=MSDOS filesystem support
KCONFIG:=CONFIG_MSDOS_FS
- FILES:=$(LINUX_DIR)/fs/msdos/msdos.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/fs/$(MSDOS_DIR)/msdos.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,40,msdos)
$(call KernelPackage/nls/Depends)
endef