summaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-21 14:18:11 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-21 14:18:11 +0000
commit11476e81c4be673822360fb9268d6d7c2503773d (patch)
tree2572c435df0a4fbfda6d2b685f58cf28b8fdf351 /package/kernel/modules/block.mk
parent5ff066b558bbb7551b633344480110a5519e36f8 (diff)
kernel: x86 remove dependency on ata-core and scsi-core
The x86 image includes the modules out of ata-core and scsi-core directly in the kernel image. Do not depend on these packages, because they are not build in a x86 image. This fixes #6873 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20346 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 92b9e6390..009a8e168 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -10,7 +10,7 @@ BLOCK_MENU:=Block Devices
define KernelPackage/ata-core
SUBMENU:=$(BLOCK_MENU)
TITLE:=Serial and Parallel ATA support
- DEPENDS:=@PCI_SUPPORT @LINUX_2_6 +kmod-scsi-core @(!TARGET_ubicom32||!TARGET_etrax)
+ DEPENDS:=@PCI_SUPPORT @LINUX_2_6 +kmod-scsi-core @(!TARGET_ubicom32||!TARGET_etrax||!TARGET_x86)
KCONFIG:=CONFIG_ATA
FILES:=$(LINUX_DIR)/drivers/ata/libata.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,21,libata,1)
@@ -21,7 +21,7 @@ $(eval $(call KernelPackage,ata-core))
define KernelPackage/ata/Depends
SUBMENU:=$(BLOCK_MENU)
- DEPENDS:=kmod-ata-core $(1)
+ DEPENDS:=!TARGET_x86:kmod-ata-core $(1)
endef
@@ -302,6 +302,7 @@ $(eval $(call KernelPackage,ide-it821x))
define KernelPackage/scsi-core
SUBMENU:=$(BLOCK_MENU)
TITLE:=SCSI device support
+ DEPENDS:=@!TARGET_x86
KCONFIG:= \
CONFIG_SCSI \
CONFIG_BLK_DEV_SD
@@ -451,7 +452,7 @@ $(eval $(call KernelPackage,axonram))
define KernelPackage/libsas
SUBMENU:=$(BLOCK_MENU)
TITLE:=SAS Domain Transport Attributes
- DEPENDS:=+kmod-scsi-core @TARGET_x86
+ DEPENDS:=@TARGET_x86
KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \
CONFIG_SCSI_SAS_ATTRS \
CONFIG_SCSI_SAS_ATA=y \