kernel: make kmod-hwmon-core selected by dependent modules
authorSungbo Eo <mans0n@gorani.run>
Thu, 5 Mar 2020 14:22:47 +0000 (23:22 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 13 Mar 2020 13:23:33 +0000 (14:23 +0100)
commit4159054fbbf8a7176eaf3dd4467c5b0db70769d0
tree23742b8265e1613b76b76144ab1c91060abd2ae6
parentdffbe668ab321c76c041aa15ca8b753deab2c4c5
kernel: make kmod-hwmon-core selected by dependent modules

Currently kmod-hwmon-* will not get into images unless kmod-hwmon-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-gpiofan
- kmod-hwmon-lm63
- kmod-hwmon-lm75
- kmod-hwmon-lm85
- kmod-hwmon-lm90

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[do not touch ar71xx, adjust line wrapping]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/kernel/hwmon-gsc/Makefile
package/kernel/linux/modules/hwmon.mk
target/linux/kirkwood/image/Makefile
target/linux/mpc85xx/image/Makefile
target/linux/oxnas/image/ox820.mk
target/linux/oxnas/ox820/profiles/00-default.mk