kernel: remove more calls to CompareKernelPatchVer and use 2.4 exceptions instead
SVN-Revision: 19049
This commit is contained in:
parent
ad91c89f08
commit
6e3bbe7843
@ -271,20 +271,18 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,fs-nfsd))
|
$(eval $(call KernelPackage,fs-nfsd))
|
||||||
|
|
||||||
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.30)),1)
|
|
||||||
MSDOS_DIR:=fat
|
|
||||||
endif
|
|
||||||
MSDOS_DIR?=msdos
|
|
||||||
|
|
||||||
define KernelPackage/fs-msdos
|
define KernelPackage/fs-msdos
|
||||||
SUBMENU:=$(FS_MENU)
|
SUBMENU:=$(FS_MENU)
|
||||||
TITLE:=MSDOS filesystem support
|
TITLE:=MSDOS filesystem support
|
||||||
KCONFIG:=CONFIG_MSDOS_FS
|
KCONFIG:=CONFIG_MSDOS_FS
|
||||||
FILES:=$(LINUX_DIR)/fs/$(MSDOS_DIR)/msdos.$(LINUX_KMOD_SUFFIX)
|
FILES:=$(LINUX_DIR)/fs/fat/msdos.$(LINUX_KMOD_SUFFIX)
|
||||||
AUTOLOAD:=$(call AutoLoad,40,msdos)
|
AUTOLOAD:=$(call AutoLoad,40,msdos)
|
||||||
$(call KernelPackage/nls/Depends)
|
$(call KernelPackage/nls/Depends)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/fs-msdos/2.4
|
||||||
|
FILES:=$(LINUX_DIR)/fs/msdos/msdos.$(LINUX_KMOD_SUFFIX)
|
||||||
|
endef
|
||||||
|
|
||||||
define KernelPackage/fs-msdos/description
|
define KernelPackage/fs-msdos/description
|
||||||
Kernel module for MSDOS filesystem support
|
Kernel module for MSDOS filesystem support
|
||||||
@ -307,11 +305,6 @@ 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)
|
||||||
TITLE:=VFAT filesystem support
|
TITLE:=VFAT filesystem support
|
||||||
@ -320,11 +313,16 @@ 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/$(VFAT_DIR)/vfat.$(LINUX_KMOD_SUFFIX)
|
$(LINUX_DIR)/fs/fat/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
|
||||||
|
|
||||||
|
define KernelPackage/fs-vfat/2.4
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
|
||||||
|
$(LINUX_DIR)/fs/vfat/vfat.$(LINUX_KMOD_SUFFIX)
|
||||||
|
endef
|
||||||
|
|
||||||
define KernelPackage/fs-vfat/description
|
define KernelPackage/fs-vfat/description
|
||||||
Kernel module for VFAT filesystem support
|
Kernel module for VFAT filesystem support
|
||||||
|
Loading…
Reference in New Issue
Block a user