mirror of https://github.com/hak5/openwrt.git
kernel: make hwmon-lm75 only depend on kmod-thermal if needed
This fixes commit r42529 and closes #17855. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42531lede-17.01
parent
6ea49c5e13
commit
f734314484
|
@ -119,7 +119,7 @@ define KernelPackage/hwmon-lm75
|
|||
KCONFIG:=CONFIG_SENSORS_LM75
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lm75)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-thermal)
|
||||
$(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-lm75/description
|
||||
|
|
Loading…
Reference in New Issue