From: Claudio Mignanti Date: Thu, 11 Mar 2010 15:38:50 +0000 (+0000) Subject: fix kernel modules dependences for i2c and ata-core X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ff96ad6b8bddc9243cb3c441a47fa296364c6159;p=openwrt%2Fstaging%2Fynezz.git fix kernel modules dependences for i2c and ata-core SVN-Revision: 20146 --- diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 045e921cab..92b9e63901 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 + DEPENDS:=@PCI_SUPPORT @LINUX_2_6 +kmod-scsi-core @(!TARGET_ubicom32||!TARGET_etrax) KCONFIG:=CONFIG_ATA FILES:=$(LINUX_DIR)/drivers/ata/libata.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,21,libata,1) diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk index ed626fcf01..86f1b3bd9b 100644 --- a/package/kernel/modules/i2c.mk +++ b/package/kernel/modules/i2c.mk @@ -27,7 +27,7 @@ I2C_CORE_MODULES:= \ define KernelPackage/i2c-core $(call i2c_defaults,$(I2C_CORE_MODULES),51) TITLE:=I2C support - DEPENDS:=@LINUX_2_6 + DEPENDS:=@LINUX_2_6 @!TARGET_etrax endef define KernelPackage/i2c-core/description