[etrax] 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 045e921..92b9e63 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 ed626fc..86f1b3b 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