diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-24 23:40:22 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-26 22:07:48 +0100 |
commit | 9e0aab44b656be530b7b92ac03588ffc4d4cd1fa (patch) | |
tree | 7f358fd287fb9b8a2e5d67b02ce13326f2752008 /package/kernel/w1-gpio-custom | |
parent | 3519bf4976b41ca8071faaa0f13c48dbf8edff0b (diff) | |
download | upstream-9e0aab44b656be530b7b92ac03588ffc4d4cd1fa.tar.gz upstream-9e0aab44b656be530b7b92ac03588ffc4d4cd1fa.tar.bz2 upstream-9e0aab44b656be530b7b92ac03588ffc4d4cd1fa.zip |
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 <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/kernel/w1-gpio-custom')
-rw-r--r-- | package/kernel/w1-gpio-custom/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |