From: Petr Štetiar Date: Tue, 18 Dec 2018 10:07:28 +0000 (+0100) Subject: kernel: Fix kmod-w1 dependency on hwmon-core for 4.19 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=08ef53d2fba179c707c2acfd5a1b60a30c43272f;p=openwrt%2Fstaging%2Fyousong.git kernel: Fix kmod-w1 dependency on hwmon-core for 4.19 kmod-w1 depends on kmod-hwmon-core since Linux 4.14 Signed-off-by: Petr Štetiar --- diff --git a/package/kernel/linux/modules/w1.mk b/package/kernel/linux/modules/w1.mk index e936a28145..baf6b06625 100644 --- a/package/kernel/linux/modules/w1.mk +++ b/package/kernel/linux/modules/w1.mk @@ -14,7 +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 + DEPENDS:=+!(LINUX_3_18||LINUX_4_9):kmod-hwmon-core endef define KernelPackage/w1/description