fix kernel modules dependences for i2c and ata-core
authorClaudio Mignanti <c.mignanti@gmail.com>
Thu, 11 Mar 2010 15:38:50 +0000 (15:38 +0000)
committerClaudio Mignanti <c.mignanti@gmail.com>
Thu, 11 Mar 2010 15:38:50 +0000 (15:38 +0000)
SVN-Revision: 20146

package/kernel/modules/block.mk
package/kernel/modules/i2c.mk

index 045e921cab5805e6d924b885eed46ef266dcf9d0..92b9e6390154cba8858c309d48882517c181f18d 100644 (file)
@@ -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)
index ed626fcf01e616eae7086b3efa271fca81b639e1..86f1b3bd9bd1a20f3342a4677333659b2d37ee36 100644 (file)
@@ -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