summaryrefslogtreecommitdiff
path: root/package/kernel/modules/fs.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-12-28 14:55:38 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-12-28 14:55:38 +0000
commitb6f5eeb1eed804c4b9a0876b024293dd68317f42 (patch)
tree4fbc9ee1ee46a82b4ac936f932ef05a16a0e820e /package/kernel/modules/fs.mk
parent36743687a8094ddd36eb1d4ab2a43df0429ac580 (diff)
downloadmtk-20170518-b6f5eeb1eed804c4b9a0876b024293dd68317f42.zip
mtk-20170518-b6f5eeb1eed804c4b9a0876b024293dd68317f42.tar.gz
mtk-20170518-b6f5eeb1eed804c4b9a0876b024293dd68317f42.tar.bz2
fix wrong paths after r18955.
SVN-Revision: 18957
Diffstat (limited to 'package/kernel/modules/fs.mk')
-rw-r--r--package/kernel/modules/fs.mk13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index 1ff47a0..10557a7 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -271,12 +271,16 @@ endef
$(eval $(call KernelPackage,fs-nfsd))
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.30)),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
@@ -303,6 +307,11 @@ endef
$(eval $(call KernelPackage,fs-reiserfs))
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
+ VFAT_DIR:=fat
+endif
+VFAT_DIR?=vfat
+
define KernelPackage/fs-vfat
SUBMENU:=$(FS_MENU)
TITLE:=VFAT filesystem support
@@ -311,7 +320,7 @@ define KernelPackage/fs-vfat
CONFIG_VFAT_FS
FILES:= \
$(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/fs/vfat/vfat.$(LINUX_KMOD_SUFFIX)
+ $(LINUX_DIR)/fs/$(VFAT_DIR)/vfat.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,30,fat vfat)
$(call KernelPackage/nls/Depends)
endef