summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-30 00:50:06 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-30 00:50:06 +0000
commita5ed52ecdfd84218c454bebe89fbd59f7d9b8c50 (patch)
treee7bd46f0612942781c9bbd3f950631ebe7197b5e
parent2edc1eaf4b6b2e58f9e0c7d95a7d79d35910c8b2 (diff)
[kernel] accomodate a change in msdos.ko path that appeared on 2.6.28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14273 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 176fed6d4..40b2c8d41 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