define KernelPackage/hwmon-adt7410
TITLE:=ADT7410 monitoring support
-ifeq ($(CONFIG_LINUX_3_8),)
KCONFIG:= \
CONFIG_SENSORS_ADT7X10 \
CONFIG_SENSORS_ADT7410
$(LINUX_DIR)/drivers/hwmon/adt7x10.ko \
$(LINUX_DIR)/drivers/hwmon/adt7410.ko
AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410)
-else
- KCONFIG:=CONFIG_SENSORS_ADT7410
- FILES:=$(LINUX_DIR)/drivers/hwmon/adt7410.ko
- AUTOLOAD:=$(call AutoLoad,60,adt7410)
-endif
$(call AddDepends/hwmon,+kmod-i2c-core)
endef
KCONFIG:=CONFIG_SENSORS_INA2XX
FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
AUTOLOAD:=$(call AutoProbe,ina2xx)
- $(call AddDepends/hwmon,+kmod-i2c-core)
+ $(call AddDepends/hwmon,+kmod-i2c-core +LINUX_4_4:kmod-regmap)
endef
define KernelPackage/hwmon-ina2xx/description
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)
+ $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
endef
define KernelPackage/hwmon-gpiofan/description
KCONFIG:=CONFIG_SENSORS_PWM_FAN
FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
- $(call AddDepends/hwmon,)
- DEPENDS+=@!LINUX_3_8 @!LINUX_3_10 @!LINUX_3_14
+ $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
endef
define KernelPackage/hwmon-pwmfan/description
KCONFIG:=CONFIG_SENSORS_K10TEMP
FILES:=$(LINUX_DIR)/drivers/hwmon/k10temp.ko
AUTOLOAD:=$(call AutoLoad,60,k10temp)
- $(call AddDepends/hwmon,@PCI_SUPPORT @(x86||x86_64))
+ $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86)
endef
define KernelPackage/hwmon-k10temp/description