[source] kernel: kmod-hwmon-tmp102: add dependency to kmod-thermal

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 13 15:17:29 PST 2016


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/a6781ef4c12a95fb29394a8b7f6f7906e5f0d6e3

commit a6781ef4c12a95fb29394a8b7f6f7906e5f0d6e3
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Wed Dec 14 00:15:33 2016 +0100

    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 at hauke-m.de>
---
 package/kernel/linux/modules/hwmon.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index a6e5b22..0c52f03 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



More information about the lede-commits mailing list