[openwrt/openwrt] kernel/hwmon-core: 6.12: fix missing dependency

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 30 07:28:08 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/6f19be76919ce9af418c83fa63a3ef5e8ccc78cf

commit 6f19be76919ce9af418c83fa63a3ef5e8ccc78cf
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Sun Apr 27 18:59:18 2025 +0200

    kernel/hwmon-core: 6.12: fix missing dependency
    
    Add missing depends kmod-i2c-core.
    
    Package kmod-hwmon-core is missing dependencies for the following libraries:
    i2c-core.ko
    
    Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
    Link: https://github.com/openwrt/openwrt/pull/16547
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 package/kernel/linux/modules/hwmon.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 9d794d69f2..8c3bbe9327 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -9,6 +9,7 @@ HWMON_MENU:=Hardware Monitoring Support
 
 define KernelPackage/hwmon-core
   SUBMENU:=$(HWMON_MENU)
+  DEPENDS:=+!LINUX_6_6:kmod-i2c-core
   TITLE:=Hardware monitoring support
   KCONFIG:= \
 	CONFIG_HWMON \




More information about the lede-commits mailing list