diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-31 13:55:51 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-31 13:55:51 +0000 |
commit | fdb0d6d860240d51470a520c1e0437168757f81e (patch) | |
tree | 1053381422eb6587a6b6b76969723337352693a2 /package/kernel/linux/modules/other.mk | |
parent | f942a9b82addd890b3ace62982e70b7b76ea92d9 (diff) | |
download | upstream-fdb0d6d860240d51470a520c1e0437168757f81e.tar.gz upstream-fdb0d6d860240d51470a520c1e0437168757f81e.tar.bz2 upstream-fdb0d6d860240d51470a520c1e0437168757f81e.zip |
linux: convert CompareKernelPatchVer to version tagged symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44229
Diffstat (limited to 'package/kernel/linux/modules/other.mk')
-rw-r--r-- | package/kernel/linux/modules/other.mk | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index a69d817ed3..2800387a0a 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -261,11 +261,9 @@ define KernelPackage/iio-ad799x KCONFIG:= \ CONFIG_AD799X_RING_BUFFER=y \ CONFIG_AD799X -ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.16.0)),1) - FILES:=$(LINUX_DIR)/drivers/iio/adc/ad799x.ko -else - FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/ad799x.ko -endif + FILES:= \ + $(LINUX_DIR)/drivers/staging/iio/adc/ad799x.ko@lt3.16 \ + $(LINUX_DIR)/drivers/iio/adc/ad799x.ko@ge3.16 AUTOLOAD:=$(call AutoLoad,56,ad799x) endef @@ -755,15 +753,11 @@ define KernelPackage/zram CONFIG_ZRAM_DEBUG=n \ CONFIG_PGTABLE_MAPPING=n \ CONFIG_ZRAM_LZ4_COMPRESS=y -ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.14.0)),1) - FILES:=\ - $(LINUX_DIR)/mm/zsmalloc.ko \ - $(LINUX_DIR)/drivers/block/zram/zram.ko -else FILES:= \ - $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko \ - $(LINUX_DIR)/drivers/staging/zram/zram.ko -endif + $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko@lt3.14 \ + $(LINUX_DIR)/drivers/staging/zram/zram.ko@lt3.14 \ + $(LINUX_DIR)/mm/zsmalloc.ko@ge3.14 \ + $(LINUX_DIR)/drivers/block/zram/zram.ko@ge3.14 AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram) endef |