From: Hauke Mehrtens Date: Tue, 13 Dec 2016 23:15:33 +0000 (+0100) Subject: kernel: kmod-hwmon-tmp102: add dependency to kmod-thermal X-Git-Tag: v17.01.0-rc1~553 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a6781ef4c12a95fb29394a8b7f6f7906e5f0d6e3;p=oweals%2Fopenwrt.git 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 --- diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index a6e5b22507..0c52f03d0b 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -333,7 +333,7 @@ define KernelPackage/hwmon-tmp102 KCONFIG:=CONFIG_SENSORS_TMP102 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko AUTOLOAD:=$(call AutoProbe,tmp102) - $(call AddDepends/hwmon,+kmod-i2c-core) + $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal) endef define KernelPackage/hwmon-tmp102/description