1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 07:03:21 +02:00

[at91] move i2c module to target modules.mk

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32910 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-07-29 13:20:51 +00:00
parent 89b0288944
commit 4d018c5938

View File

@ -49,3 +49,20 @@ define KernelPackage/at91-adc/description
endef endef
$(eval $(call KernelPackage,at91-adc)) $(eval $(call KernelPackage,at91-adc))
I2C_AT91_MODULES:=\
CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91
define KernelPackage/at91-i2c
$(call i2c_defaults,$(I2C_AT91_MODULES),55)
TITLE:=I2C (TWI) master driver for Atmel AT91
DEPENDS:=@TARGET_at91 +kmod-i2c-core
endef
define KernelPackage/at91-i2c/description
Kernel module to use the I2C (TWI) master driver for Atmel AT91
endef
$(eval $(call KernelPackage,at91-i2c))