summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-04 09:54:46 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-04 09:54:46 +0000
commit3fa8e269558880eeb4d68aaa4a6edb31c702e1de (patch)
tree7d86dcd497039b42b49073b43cf086172575379a /package
parentc6263cfddc7619b031246699853200973f610ee7 (diff)
[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')
-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)