kernel: make kmod-i2c-core selected by dependent modules

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>
This commit is contained in:
Sungbo Eo
2020-03-05 23:42:18 +09:00
committed by Adrian Schmutzler
parent 4159054fbb
commit 4caaa778f7
8 changed files with 29 additions and 29 deletions

View File

@@ -275,7 +275,7 @@ define Device/traverse-ls1043
DEVICE_PACKAGES += \
layerscape-fman-ls1043ardb \
uboot-envtools \
kmod-i2c-core kmod-i2c-mux kmod-i2c-mux-pca954x \
kmod-i2c-mux kmod-i2c-mux-pca954x \
kmod-hwmon-core \
kmod-gpio-pca953x kmod-input-gpio-keys-polled \
kmod-rtc-isl1208