aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-04 09:54:46 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-04 09:54:46 +0000
commitf20e508256b768999ee8ba941da20f175930110b (patch)
tree7d86dcd497039b42b49073b43cf086172575379a /package/kernel
parent923f9f71d9728035b05b7467dc2650e6b5a9dbfb (diff)
downloadupstream-f20e508256b768999ee8ba941da20f175930110b.tar.gz
upstream-f20e508256b768999ee8ba941da20f175930110b.tar.bz2
upstream-f20e508256b768999ee8ba941da20f175930110b.zip
[kernel] remove 2.6.26 check, do not build ide-generic on arm it is not available (#5303)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16670 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/block.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 3a7c7fad3f..3dabdfc085 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -179,12 +179,7 @@ define KernelPackage/ide-core/2.4
AUTOLOAD+=$(call AutoLoad,30,ide-detect)
endef
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),eq,2.6.26)),1)
- define KernelPackage/ide-core/2.6
- FILES+=$(LINUX_DIR)/drivers/ide/pci/ide-pci-generic.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD+=$(call AutoLoad,30,ide-pci-generic)
- endef
-else
+ifneq ($(CONFIG_arm),y)
define KernelPackage/ide-core/2.6
FILES+=$(LINUX_DIR)/drivers/ide/ide-generic.$(LINUX_KMOD_SUFFIX)
AUTOLOAD+=$(call AutoLoad,30,ide-generic)