From 9e0aab44b656be530b7b92ac03588ffc4d4cd1fa Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 24 Jan 2020 23:40:22 +0100 Subject: kernel: use older kernel for explicitly setting dependencies It is generally more desirable to use older kernel versions for dependencies, as this will require less changes when newer kernels are added (they will by default select the newer packages). Since we currently only have two kernels (4.14 and 4.19) in master, this patch applies this logic by converting all LINUX_4_19 symbols to their inverted LINUX_4_14 equivalents. Signed-off-by: Adrian Schmutzler --- package/kernel/w1-gpio-custom/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/w1-gpio-custom') diff --git a/package/kernel/w1-gpio-custom/Makefile b/package/kernel/w1-gpio-custom/Makefile index 021791ff94..5445097a81 100644 --- a/package/kernel/w1-gpio-custom/Makefile +++ b/package/kernel/w1-gpio-custom/Makefile @@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/w1-gpio-custom SUBMENU:=W1 support TITLE:=Custom GPIO-based 1-wire device - DEPENDS:=kmod-w1 +kmod-w1-master-gpio @!LINUX_4_19 + DEPENDS:=kmod-w1 +kmod-w1-master-gpio @LINUX_4_14 FILES:=$(PKG_BUILD_DIR)/w1-gpio-custom.ko KCONFIG:= endef -- cgit v1.2.3