[octeon] move i2c driver to target modules.mk

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32855 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli
2012-07-25 15:50:13 +00:00
parent 9b33874a28
commit 16ffb690a4
2 changed files with 16 additions and 145 deletions

View File

@@ -37,3 +37,19 @@ define KernelPackage/usb-octeon/description
endef
$(eval $(call KernelPackage,usb-octeon))
I2C_OCTEON_MODULES:=\
CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon
define KernelPackage/octeon-i2c
$(call i2c_defaults,$(I2C_OCTEON_MODULES),59)
TITLE:=I2C master driver for Cavium Octeon
DEPENDS:=@TARGET_octeon +kmod-i2c-core
endef
define KernelPackage/octeon-i2c/description
Kernel module to use the I2C master driver on Cavium Octeon
endef
$(eval $(call KernelPackage,octeon-i2c))