Author: hauke
Date: 2014-09-14 14:06:38 +0200 (Sun, 14 Sep 2014)
New Revision: 42531

Modified:
   trunk/package/kernel/linux/modules/hwmon.mk
Log:
kernel: make hwmon-lm75 only depend on kmod-thermal if needed

This fixes commit r42529 and closes #17855.

Signed-off-by: Hauke Mehrtens <[email protected]>


Modified: trunk/package/kernel/linux/modules/hwmon.mk
===================================================================
--- trunk/package/kernel/linux/modules/hwmon.mk 2014-09-14 11:40:51 UTC (rev 
42530)
+++ trunk/package/kernel/linux/modules/hwmon.mk 2014-09-14 12:06:38 UTC (rev 
42531)
@@ -119,7 +119,7 @@
   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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to