Author: nbd
Date: 2015-12-22 20:05:35 +0100 (Tue, 22 Dec 2015)
New Revision: 47961

Modified:
   trunk/package/kernel/linux/modules/hwmon.mk
Log:
kernel: make kmod-thermal dependency conditional to match upstream kernel 
module configuration dependency

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/kernel/linux/modules/hwmon.mk
===================================================================
--- trunk/package/kernel/linux/modules/hwmon.mk 2015-12-22 16:58:45 UTC (rev 
47960)
+++ trunk/package/kernel/linux/modules/hwmon.mk 2015-12-22 19:05:35 UTC (rev 
47961)
@@ -274,7 +274,7 @@
   KCONFIG:=CONFIG_SENSORS_GPIO_FAN
   FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
   AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
-  $(call AddDepends/hwmon,+kmod-i2c-core +kmod-thermal)
+  $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
 endef
 
 define KernelPackage/hwmon-gpiofan/description
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to