remove 2.6.26 check, do not build ide-generic on arm it is not available (#5303)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 4 Jul 2009 09:54:46 +0000 (09:54 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 4 Jul 2009 09:54:46 +0000 (09:54 +0000)
SVN-Revision: 16670

package/kernel/modules/block.mk

index 3a7c7fad3f25e9efcd396f0950c40e2bdb785a45..3dabdfc08577151555908cd9cd8907446077f400 100644 (file)
@@ -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)