From: Daniel Golle Date: Fri, 12 Aug 2022 09:02:44 +0000 (+0200) Subject: kernel: kmod-input-gpio-keys-polled depends on kmod-input-core X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1291a682f855f6d8814134771f9923f4f80b524f;p=openwrt%2Fstaging%2Fthess.git kernel: kmod-input-gpio-keys-polled depends on kmod-input-core While kmod-input-core was previously indirectly selected by kmod-input-polldev, this is now only the case on Linux 5.10. Select kmod-input-core as dependency independently of the kernel version to fix build error: Package kmod-input-gpio-keys-polled is missing dependencies for the following libraries: input-core.ko Fixes: 54878fbbdd ("kernel: kmod-input-polldev: Depend on kernel 5.10") Signed-off-by: Daniel Golle --- diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk index b0ab3360cc..6270cdeb3b 100644 --- a/package/kernel/linux/modules/input.mk +++ b/package/kernel/linux/modules/input.mk @@ -92,7 +92,7 @@ $(eval $(call KernelPackage,input-gpio-keys)) define KernelPackage/input-gpio-keys-polled SUBMENU:=$(INPUT_MODULES_MENU) TITLE:=Polled GPIO key support - DEPENDS:=@GPIO_SUPPORT +LINUX_5_10:kmod-input-polldev + DEPENDS:=@GPIO_SUPPORT +kmod-input-core +LINUX_5_10:kmod-input-polldev KCONFIG:= \ CONFIG_KEYBOARD_GPIO_POLLED \ CONFIG_INPUT_KEYBOARD=y