kernel: remove obsolete CompareKernelPatchVer calls

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31775 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2012-05-17 15:28:02 +00:00
parent 06370f57c1
commit d25930c39b
8 changed files with 18 additions and 77 deletions

View File

@@ -91,14 +91,9 @@ define KernelPackage/fs-ext4
CONFIG_JBD2
FILES:= \
$(LINUX_DIR)/fs/ext4/ext4.ko \
$(LINUX_DIR)/fs/jbd2/jbd2.ko
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1)
FILES+= \
$(LINUX_DIR)/fs/jbd2/jbd2.ko \
$(LINUX_DIR)/fs/mbcache.ko
AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
else
AUTOLOAD:=$(call AutoLoad,30,jbd2 ext4,1)
endif
AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
$(call AddDepends/crc16)
endef