summaryrefslogtreecommitdiff
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-17 15:28:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-17 15:28:02 +0000
commit8ff9b93dfa4f658866cf53947438980b972c2700 (patch)
treefd15d6dcd724a2f495ff527e2f6694f3018b9841 /package/kernel/modules/block.mk
parentc30405070c1f6a253b5f0403b6d68cb4b1f00455 (diff)
downloadmtk-20170518-8ff9b93dfa4f658866cf53947438980b972c2700.zip
mtk-20170518-8ff9b93dfa4f658866cf53947438980b972c2700.tar.gz
mtk-20170518-8ff9b93dfa4f658866cf53947438980b972c2700.tar.bz2
kernel: remove obsolete CompareKernelPatchVer calls
SVN-Revision: 31775
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk22
1 files changed, 5 insertions, 17 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 5096ade..1f343dd 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -43,13 +43,10 @@ endef
define KernelPackage/ata-ahci
TITLE:=AHCI Serial ATA support
KCONFIG:=CONFIG_SATA_AHCI
- FILES:=$(LINUX_DIR)/drivers/ata/ahci.ko
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
- FILES += $(LINUX_DIR)/drivers/ata/libahci.ko
- AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1)
- else
- AUTOLOAD:=$(call AutoLoad,41,ahci,1)
- endif
+ FILES:= \
+ $(LINUX_DIR)/drivers/ata/ahci.ko \
+ $(LINUX_DIR)/drivers/ata/libahci.ko
+ AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1)
$(call AddDepends/ata)
endef
@@ -343,17 +340,8 @@ $(call KernelPackage/md/Depends,)
$(LINUX_DIR)/crypto/async_tx/async_xor.ko \
$(LINUX_DIR)/crypto/async_tx/async_pq.ko \
$(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
- $(LINUX_DIR)/drivers/md/raid456.ko
- # Additional files with kernel-dependent locations or presence
- # For Linux >= 2.6.36
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)), 1)
- FILES+= \
+ $(LINUX_DIR)/drivers/md/raid456.ko \
$(LINUX_DIR)/lib/raid6/raid6_pq.ko
- # For Linux < 2.6.36
- else
- FILES+= \
- $(LINUX_DIR)/drivers/md/raid6_pq.ko
- endif
AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor raid6_pq async_pq async_raid6_recov raid456)
endef