rotary-gpio-custom: depend on Linux 3.18 and 4.4 (will not work on newer kernels)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2017-01-27 12:49:55 +01:00
parent a112786acb
commit f18f3c87f3

View File

@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/rotary-gpio-custom define KernelPackage/rotary-gpio-custom
SUBMENU:=Other modules SUBMENU:=Other modules
TITLE:=Custom GPIO-based rotary encoder device 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 FILES:=$(PKG_BUILD_DIR)/rotary-gpio-custom.ko
KCONFIG:= KCONFIG:=
endef endef