diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-17 15:28:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-17 15:28:02 +0000 |
commit | d25930c39b9ff03e2cfffc0a2dcb64555ebc4c26 (patch) | |
tree | 8daf0ef20c41f247c70310beaecf33e6026325ca /package/kernel/modules/block.mk | |
parent | 06370f57c10b2d547584fcacaed4abc02c392704 (diff) | |
download | upstream-d25930c39b9ff03e2cfffc0a2dcb64555ebc4c26.tar.gz upstream-d25930c39b9ff03e2cfffc0a2dcb64555ebc4c26.tar.bz2 upstream-d25930c39b9ff03e2cfffc0a2dcb64555ebc4c26.zip |
kernel: remove obsolete CompareKernelPatchVer calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31775 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r-- | package/kernel/modules/block.mk | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 5096ade3f5..1f343dd93c 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 |