[openwrt/openwrt] linux/x86: add missing CONFIG_WATCHDOG_CORE to *-wdt
LEDE Commits
lede-commits at lists.infradead.org
Sat Sep 24 14:56:01 PDT 2022
chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/355c02d963c20d5f32d5759a1cffa149d1a36162
commit 355c02d963c20d5f32d5759a1cffa149d1a36162
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Wed Aug 3 16:22:12 2022 +0200
linux/x86: add missing CONFIG_WATCHDOG_CORE to *-wdt
The packages also need a dependency to watchdog core. This commit adds the
needed WATCHDOG_CORE dependency.
https://github.com/torvalds/linux/blob/master/drivers/watchdog/Kconfig
Signed-off-by: Florian Eckert <fe at dev.tdt.de>
---
target/linux/x86/modules.mk | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk
index 28cb276f7e..3173cf9e84 100644
--- a/target/linux/x86/modules.mk
+++ b/target/linux/x86/modules.mk
@@ -39,7 +39,9 @@ define KernelPackage/f71808e-wdt
SUBMENU:=$(OTHER_MENU)
TITLE:=Fintek F718xx/F818xx Watchdog Timer
DEPENDS:=@TARGET_x86
- KCONFIG:=CONFIG_F71808E_WDT
+ KCONFIG:=\
+ CONFIG_F71808E_WDT \
+ CONFIG_WATCHDOG_CORE=y
FILES:=$(LINUX_DIR)/drivers/watchdog/f71808e_wdt.ko
AUTOLOAD:=$(call AutoProbe,f71808e-wdt,1)
endef
@@ -123,8 +125,10 @@ define KernelPackage/itco-wdt
SUBMENU:=$(OTHER_MENU)
TITLE:=Intel iTCO Watchdog Timer
DEPENDS:=@TARGET_x86
- KCONFIG:=CONFIG_ITCO_WDT \
- CONFIG_ITCO_VENDOR_SUPPORT=y
+ KCONFIG:=\
+ CONFIG_ITCO_WDT \
+ CONFIG_ITCO_VENDOR_SUPPORT=y \
+ CONFIG_WATCHDOG_CORE=y
FILES:=$(LINUX_DIR)/drivers/watchdog/iTCO_wdt.ko \
$(LINUX_DIR)/drivers/watchdog/iTCO_vendor_support.ko
AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
@@ -178,7 +182,9 @@ define KernelPackage/w83627hf-wdt
SUBMENU:=$(OTHER_MENU)
TITLE:=Winbond 83627HF Watchdog Timer
DEPENDS:=@TARGET_x86
- KCONFIG:=CONFIG_W83627HF_WDT
+ KCONFIG:=\
+ CONFIG_W83627HF_WDT \
+ ONFIG_WATCHDOG_CORE=y
FILES:=$(LINUX_DIR)/drivers/watchdog/w83627hf_wdt.ko
AUTOLOAD:=$(call AutoLoad,50,w83627hf-wdt,1)
endef
More information about the lede-commits
mailing list