From: Felix Fietkau Date: Fri, 27 Jan 2017 11:49:55 +0000 (+0100) Subject: rotary-gpio-custom: depend on Linux 3.18 and 4.4 (will not work on newer kernels) X-Git-Tag: v18.06.0-rc1~3853 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f18f3c87f35b66100e954ad3adb23da144a3ec2e;p=openwrt%2Fstaging%2Fchunkeey.git rotary-gpio-custom: depend on Linux 3.18 and 4.4 (will not work on newer kernels) Signed-off-by: Felix Fietkau --- diff --git a/package/kernel/rotary-gpio-custom/Makefile b/package/kernel/rotary-gpio-custom/Makefile index f338fe7ad0..e1cf7ff1de 100644 --- a/package/kernel/rotary-gpio-custom/Makefile +++ b/package/kernel/rotary-gpio-custom/Makefile @@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/rotary-gpio-custom SUBMENU:=Other modules TITLE:=Custom GPIO-based rotary encoder device - DEPENDS:=@GPIO_SUPPORT +kmod-input-gpio-encoder + DEPENDS:=@GPIO_SUPPORT +kmod-input-gpio-encoder @LINUX_3_18||LINUX_4_4 FILES:=$(PKG_BUILD_DIR)/rotary-gpio-custom.ko KCONFIG:= endef