From fe0d191dc1a047449b1232ec170b0e0472c9d248 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 22 Dec 2015 19:05:35 +0000 Subject: kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47961 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/linux/modules/hwmon.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel') diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index ad1c7bf91d..e09efa17c0 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -274,7 +274,7 @@ define KernelPackage/hwmon-gpiofan 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 -- cgit v1.2.3