| 1 | # |
| 2 | # Copyright (C) 2010 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | I2C_LANTIQ_MODULES:= \ |
| 9 | CONFIG_I2C_LANTIQ:drivers/i2c/busses/i2c-lantiq |
| 10 | |
| 11 | define KernelPackage/i2c-lantiq |
| 12 | TITLE:=Lantiq I2C controller |
| 13 | $(call i2c_defaults,$(I2C_LANTIQ_MODULES),52) |
| 14 | DEPENDS:=kmod-i2c-core @TARGET_lantiq_falcon |
| 15 | endef |
| 16 | |
| 17 | define KernelPackage/i2c-lantiq/description |
| 18 | Kernel support for the Lantiq/Falcon I2C controller |
| 19 | endef |
| 20 | |
| 21 | $(eval $(call KernelPackage,i2c-lantiq)) |
| 22 | |
| 23 | |