aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-01 14:36:24 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-01 14:36:24 +0000
commit0ed1f12441a9bdab373a978601b533fd23447598 (patch)
tree6ab45eb1cd417fb1f82e6ad795493d88388943e3
parentc2b42e1afe1cbcbc008dfd53894ac9fe4f092ad3 (diff)
downloadupstream-0ed1f12441a9bdab373a978601b533fd23447598.tar.gz
upstream-0ed1f12441a9bdab373a978601b533fd23447598.tar.bz2
upstream-0ed1f12441a9bdab373a978601b533fd23447598.zip
Fix i2c module dependencies (#1525)
SVN-Revision: 6794
-rw-r--r--package/kernel/modules/i2c.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index abf6040158..f12dc9f708 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -22,6 +22,7 @@ $(eval $(call KernelPackage,i2c-core))
define KernelPackage/i2c-algos
TITLE:=I2C algorithms support
DESCRIPTION:=Kernel modules for various i2c algorithms
+ DEPENDS:=kmod-i2c-core
SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C_ALGOBIT)
FILES:=$(MODULES_DIR)/kernel/drivers/i2c/algos/*.$(LINUX_KMOD_SUFFIX)
@@ -33,7 +34,7 @@ define KernelPackage/i2c-au1x00gpio
TITLE:=I2C GPIO interface for Au1x00 devices
DESCRIPTION:=I2C GPIO interface for Au1x00 devices
DEFAULT:=y if LINUX_2_6_AU1000
- DEPENDS:=+kmod-i2c-core +kmod-i2c-algos
+ DEPENDS:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_AU1000
SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C_AU1X00GPIO)
FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX)