kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47961
This commit is contained in:
parent
854c77bcea
commit
2be144fa3c
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ define KernelPackage/hwmon-gpiofan
|
||||||
KCONFIG:=CONFIG_SENSORS_GPIO_FAN
|
KCONFIG:=CONFIG_SENSORS_GPIO_FAN
|
||||||
FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
|
FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
|
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
|
endef
|
||||||
|
|
||||||
define KernelPackage/hwmon-gpiofan/description
|
define KernelPackage/hwmon-gpiofan/description
|
||||||
|
|
Loading…
Reference in a new issue