kernel/hwmon-core: 6.12: fix missing dependency
authorMieczyslaw Nalewaj <[email protected]>
Sun, 27 Apr 2025 16:59:18 +0000 (18:59 +0200)
committerChristian Marangi <[email protected]>
Wed, 30 Apr 2025 14:26:47 +0000 (16:26 +0200)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <[email protected]>
package/kernel/linux/modules/hwmon.mk

index 9d794d69f2974404ec4a775849106eb1bfa6e51a..8c3bbe9327cdaa678d2c910b5dffbf2372db454f 100644 (file)
@@ -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 \