aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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 176fed6d4c..40b2c8d41c 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