kernel: make kmod-i2c-mux selected by dependent modules
authorSungbo Eo <mans0n@gorani.run>
Mon, 16 Mar 2020 05:55:40 +0000 (14:55 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 16 Mar 2020 15:26:29 +0000 (16:26 +0100)
commit6508766d24dd391880658ab5fe70385b3b37e286
treef225fe185d176144839cde4371c5f3d7046f4617
parent8adcfe289ce5328ee1ff62fcfc8b244012738c50
kernel: make kmod-i2c-mux selected by dependent modules

Currently kmod-i2c-mux-* will not get into images unless kmod-i2c-mux 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-i2c-mux-pca954x

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
package/kernel/linux/modules/i2c.mk
target/linux/layerscape/image/armv8_64b.mk
target/linux/mvebu/image/cortexa72.mk
target/linux/mvebu/image/cortexa9.mk