[openwrt/openwrt] kernel: kmod-w1 depends on kmod-hwmon-core since Linux 4.14

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 9 13:57:12 PST 2018


jow pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/5aabc2cd3d2255534db67ec9c5ccb62aec911deb

commit 5aabc2cd3d2255534db67ec9c5ccb62aec911deb
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Jan 9 22:47:17 2018 +0100

    kernel: kmod-w1 depends on kmod-hwmon-core since Linux 4.14
    
    Fixes the following dependency error encountered by the buildbots:
    
        Package kmod-w1 is missing dependencies for the following libraries:
        hwmon.ko
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 package/kernel/linux/modules/w1.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/w1.mk b/package/kernel/linux/modules/w1.mk
index 15b3920..e936a28 100644
--- a/package/kernel/linux/modules/w1.mk
+++ b/package/kernel/linux/modules/w1.mk
@@ -14,6 +14,7 @@ define KernelPackage/w1
   TITLE:=Dallas's 1-wire support
   KCONFIG:=CONFIG_W1
   FILES:=$(LINUX_DIR)/drivers/w1/wire.ko
+  DEPENDS:=+LINUX_4_14:kmod-hwmon-core
 endef
 
 define KernelPackage/w1/description



More information about the lede-commits mailing list