aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commita83ae90eb0b6cde7c14256fd1864695a6e2213ec (patch)
tree62f5b0719d3a79ba13dde6596b12ed2ebe89e6c7 /package
parentd55e5fb15350b6961757f9acbb12f4548e1693e5 (diff)
downloadupstream-a83ae90eb0b6cde7c14256fd1864695a6e2213ec.tar.gz
upstream-a83ae90eb0b6cde7c14256fd1864695a6e2213ec.tar.bz2
upstream-a83ae90eb0b6cde7c14256fd1864695a6e2213ec.zip
remove 2.6.26 check, do not build ide-generic on arm it is not available (#5303)
SVN-Revision: 16670
Diffstat (limited to 'package')
-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)