From: Hauke Mehrtens Date: Mon, 11 May 2009 20:46:01 +0000 (+0000) Subject: The vfat directory have chanced with all newer kernel. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=037e296207f0f4906e1b0b62e76de6d977b5e543;p=openwrt%2Fstaging%2Fansuel.git The vfat directory have chanced with all newer kernel. SVN-Revision: 15782 --- 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