1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 08:08:36 +02:00

[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
This commit is contained in:
hauke 2009-05-11 20:46:01 +00:00
parent ebe966cbab
commit d578a0bbf1

View File

@ -315,6 +315,10 @@ endef
$(eval $(call KernelPackage,fs-reiserfs)) $(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 define KernelPackage/fs-vfat
SUBMENU:=$(FS_MENU) SUBMENU:=$(FS_MENU)
@ -324,7 +328,7 @@ define KernelPackage/fs-vfat
CONFIG_VFAT_FS CONFIG_VFAT_FS
FILES:= \ FILES:= \
$(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \ $(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) AUTOLOAD:=$(call AutoLoad,30,fat vfat)
$(call KernelPackage/nls/Depends) $(call KernelPackage/nls/Depends)
endef endef