mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
4caaa778f7
Currently kmod-i2c-* will not get into images unless kmod-i2c-core is added to DEVICE_PACKAGES as well. By changing the dependencies from "depends on" to "select", we do not have the issue anymore. Furthermore, we can remove most occurrences of the package from DEVICE_PACKAGES and similar variables, as it is now pulled by dependent modules such as: - kmod-hwmon-lm75 - kmod-i2c-gpio - kmod-i2c-gpio-custom - kmod-i2c-mux - kmod-i2c-ralink Signed-off-by: Sungbo Eo <mans0n@gorani.run> [do not touch ar71xx] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
23 lines
539 B
Makefile
23 lines
539 B
Makefile
#
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
I2C_LANTIQ_MODULES:= \
|
|
CONFIG_I2C_LANTIQ:drivers/i2c/busses/i2c-lantiq
|
|
|
|
define KernelPackage/i2c-lantiq
|
|
TITLE:=Lantiq I2C controller
|
|
$(call i2c_defaults,$(I2C_LANTIQ_MODULES),52)
|
|
DEPENDS:=+kmod-i2c-core @TARGET_lantiq_falcon
|
|
endef
|
|
|
|
define KernelPackage/i2c-lantiq/description
|
|
Kernel support for the Lantiq/Falcon I2C controller
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,i2c-lantiq))
|
|
|