diff options
author | Sungbo Eo <mans0n@gorani.run> | 2020-03-05 23:22:47 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-03-13 14:23:33 +0100 |
commit | 4159054fbbf8a7176eaf3dd4467c5b0db70769d0 (patch) | |
tree | 23742b8265e1613b76b76144ab1c91060abd2ae6 /target/linux/kirkwood/image/Makefile | |
parent | dffbe668ab321c76c041aa15ca8b753deab2c4c5 (diff) | |
download | upstream-4159054fbbf8a7176eaf3dd4467c5b0db70769d0.tar.gz upstream-4159054fbbf8a7176eaf3dd4467c5b0db70769d0.tar.bz2 upstream-4159054fbbf8a7176eaf3dd4467c5b0db70769d0.zip |
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>
Diffstat (limited to 'target/linux/kirkwood/image/Makefile')
-rw-r--r-- | target/linux/kirkwood/image/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index 7de62d13ca..67dd53af70 100644 --- a/target/linux/kirkwood/image/Makefile +++ b/target/linux/kirkwood/image/Makefile @@ -65,7 +65,7 @@ define Device/iom_ix2-200 DEVICE_VENDOR := Iomega DEVICE_MODEL := StorCenter ix2-200 DEVICE_DTS := kirkwood-iomega_ix2_200 - DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-hwmon-core kmod-hwmon-lm63 + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-hwmon-lm63 DEVICE_TYPE:=nas PAGESIZE := 512 SUBPAGESIZE := 256 @@ -137,8 +137,7 @@ TARGET_DEVICES += seagate_goflexhome define Device/zyxel_nsa310b DEVICE_VENDOR := ZyXEL DEVICE_MODEL := NSA310b - DEVICE_PACKAGES := kmod-r8169 kmod-gpio-button-hotplug kmod-hwmon-core \ - kmod-hwmon-lm85 + DEVICE_PACKAGES := kmod-r8169 kmod-gpio-button-hotplug kmod-hwmon-lm85 BOARD_NAME := nsa310b endef TARGET_DEVICES += zyxel_nsa310b |