mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-22 14:43:30 +00:00
kernel: kmod-hwmon-tmp102: add dependency to kmod-thermal
Depend on the kmod-thermal package when it is activated, this fixes compile problems on some targets. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
a7c2310278
commit
a6781ef4c1
@ -333,7 +333,7 @@ define KernelPackage/hwmon-tmp102
|
|||||||
KCONFIG:=CONFIG_SENSORS_TMP102
|
KCONFIG:=CONFIG_SENSORS_TMP102
|
||||||
FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
|
FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,tmp102)
|
AUTOLOAD:=$(call AutoProbe,tmp102)
|
||||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
$(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/hwmon-tmp102/description
|
define KernelPackage/hwmon-tmp102/description
|
||||||
|
Loading…
Reference in New Issue
Block a user