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/i2c-gpio-custom/Makefile | |
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/i2c-gpio-custom/Makefile')
-rw-r--r-- | package/kernel/i2c-gpio-custom/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/i2c-gpio-custom/Makefile b/package/kernel/i2c-gpio-custom/Makefile index 4891423d5c..11095abbb8 100644 --- a/package/kernel/i2c-gpio-custom/Makefile +++ b/package/kernel/i2c-gpio-custom/Makefile @@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/i2c-gpio-custom SUBMENU:=I2C support TITLE:=Custom GPIO-based I2C device - DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-i2c-gpio @!LINUX_4_19 + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-i2c-gpio @LINUX_4_14 FILES:=$(PKG_BUILD_DIR)/i2c-gpio-custom.ko KCONFIG:= endef |