[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
master
Nicolas Thill 2009-01-30 00:50:06 +00:00
parent 521ed1454e
commit fd6e685b2d
1 changed files with 6 additions and 1 deletions

View File

@ -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