aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2009-05-11 20:46:01 +0000
committerHauke Mehrtens <hauke@openwrt.org>2009-05-11 20:46:01 +0000
commitb7d2130b7618a0a84c7eff33d35b5c8ff38b57c3 (patch)
tree38f007a75feaa701e9266833396dc3a33f95e79d /package/kernel
parent315ebbce32c83084a2ce107d48c18063cbfbd308 (diff)
downloadupstream-b7d2130b7618a0a84c7eff33d35b5c8ff38b57c3.tar.gz
upstream-b7d2130b7618a0a84c7eff33d35b5c8ff38b57c3.tar.bz2
upstream-b7d2130b7618a0a84c7eff33d35b5c8ff38b57c3.zip
[kernel] The vfat directory have chanced with all newer kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15782 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/fs.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index 0d35773170..483e6369ce 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -315,6 +315,10 @@ 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)
@@ -324,7 +328,7 @@ define KernelPackage/fs-vfat
CONFIG_VFAT_FS
FILES:= \
$(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/fs/$(if $(CONFIG_LINUX_2_6_28),fat,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