1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 05:14:06 +02:00

Fix i2c module dependencies (#1525)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6794 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-04-01 14:36:24 +00:00
parent 7b3d6c14f8
commit ea0b89dc02

View File

@ -22,6 +22,7 @@ $(eval $(call KernelPackage,i2c-core))
define KernelPackage/i2c-algos define KernelPackage/i2c-algos
TITLE:=I2C algorithms support TITLE:=I2C algorithms support
DESCRIPTION:=Kernel modules for various i2c algorithms DESCRIPTION:=Kernel modules for various i2c algorithms
DEPENDS:=kmod-i2c-core
SUBMENU:=$(I2CMENU) SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C_ALGOBIT) KCONFIG:=$(CONFIG_I2C_ALGOBIT)
FILES:=$(MODULES_DIR)/kernel/drivers/i2c/algos/*.$(LINUX_KMOD_SUFFIX) 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 TITLE:=I2C GPIO interface for Au1x00 devices
DESCRIPTION:=I2C GPIO interface for Au1x00 devices DESCRIPTION:=I2C GPIO interface for Au1x00 devices
DEFAULT:=y if LINUX_2_6_AU1000 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) SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C_AU1X00GPIO) KCONFIG:=$(CONFIG_I2C_AU1X00GPIO)
FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX)