aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/fs.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-31 13:55:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-01-31 13:55:51 +0000
commitfdb0d6d860240d51470a520c1e0437168757f81e (patch)
tree1053381422eb6587a6b6b76969723337352693a2 /package/kernel/linux/modules/fs.mk
parentf942a9b82addd890b3ace62982e70b7b76ea92d9 (diff)
downloadupstream-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/fs.mk')
-rw-r--r--package/kernel/linux/modules/fs.mk17
1 files changed, 5 insertions, 12 deletions
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index b30d116098..69fce51e2f 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -316,20 +316,13 @@ define KernelPackage/fs-nfs-common
TITLE:=Common NFS filesystem modules
KCONFIG:= \
CONFIG_LOCKD \
- CONFIG_SUNRPC
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.18.0)),1)
- KCONFIG+=CONFIG_GRACE_PERIOD
+ CONFIG_SUNRPC \
+ CONFIG_GRACE_PERIOD@ge3.18
FILES:= \
- $(LINUX_DIR)/fs/nfs_common/grace.ko \
$(LINUX_DIR)/fs/lockd/lockd.ko \
- $(LINUX_DIR)/net/sunrpc/sunrpc.ko
- AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
-else
- FILES:= \
- $(LINUX_DIR)/fs/lockd/lockd.ko \
- $(LINUX_DIR)/net/sunrpc/sunrpc.ko
- AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
-endif
+ $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
+ $(LINUX_DIR)/fs/nfs_common/grace.ko@ge3.18
+ AUTOLOAD:=$(call AutoLoad,30,grace@ge3.18 sunrpc lockd)
endef
$(eval $(call KernelPackage,fs-nfs-common))