diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2015-01-20 23:49:44 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2015-01-20 23:49:44 +0000 |
commit | 5df21f8444e252c24a0caf3a223d38cdf567c5ea (patch) | |
tree | 608839e5882e73f11bdde5a4a52a81fabcf33f0a | |
parent | be86eab8e64b3ef3b83c24d245adf68f02697512 (diff) | |
download | upstream-5df21f8444e252c24a0caf3a223d38cdf567c5ea.tar.gz upstream-5df21f8444e252c24a0caf3a223d38cdf567c5ea.tar.bz2 upstream-5df21f8444e252c24a0caf3a223d38cdf567c5ea.zip |
modules: install the newly introduced grace.ko in nfs-common in 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 44068
-rw-r--r-- | package/kernel/linux/modules/fs.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 3e59cab214..243f368aee 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -321,10 +321,18 @@ define KernelPackage/fs-nfs-common KCONFIG:= \ CONFIG_LOCKD \ CONFIG_SUNRPC +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.18.0)),1) + 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 endef $(eval $(call KernelPackage,fs-nfs-common)) |