[openwrt/openwrt] kernel: kmod-hwmon-coretemp: Depend on x86

LEDE Commits lede-commits at lists.infradead.org
Thu Mar 14 13:04:04 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d2898c273dee0ebf8b086c8c400bea1f7ad6b699

commit d2898c273dee0ebf8b086c8c400bea1f7ad6b699
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Wed Mar 13 21:02:11 2024 +0100

    kernel: kmod-hwmon-coretemp: Depend on x86
    
    This kernel module depends on x86, it works only on some Intel CPUs.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/hwmon.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 0d105dcc9e..5be63ce779 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -82,7 +82,7 @@ define KernelPackage/hwmon-coretemp
   KCONFIG:=CONFIG_SENSORS_CORETEMP
   FILES:=$(LINUX_DIR)/drivers/hwmon/coretemp.ko
   AUTOLOAD:=$(call AutoProbe,coretemp)
-  $(call AddDepends/hwmon,)
+  $(call AddDepends/hwmon, at TARGET_x86)
 endef
 
 define KernelPackage/hwmon-coretemp/description




More information about the lede-commits mailing list