kernel: make hwmon-lm75 only depend on kmod-thermal if needed

This fixes commit r42529 and closes #17855.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42531 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2014-09-14 12:06:38 +00:00
parent 33185d007b
commit 732e4037bf
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ define KernelPackage/hwmon-lm75
KCONFIG:=CONFIG_SENSORS_LM75 KCONFIG:=CONFIG_SENSORS_LM75
FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
AUTOLOAD:=$(call AutoProbe,lm75) AUTOLOAD:=$(call AutoProbe,lm75)
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-thermal) $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
endef endef
define KernelPackage/hwmon-lm75/description define KernelPackage/hwmon-lm75/description