From: claudio Date: Thu, 11 Mar 2010 15:38:50 +0000 (+0000) Subject: [etrax] fix kernel modules dependences for i2c and ata-core X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5b3995238f7bcdb3fdaa64854fd939b7a217d8ba;p=10.03%2Fopenwrt.git [etrax] fix kernel modules dependences for i2c and ata-core git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20146 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 045e921ca..92b9e6390 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 ed626fcf0..86f1b3bd9 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