kmod-fs-nfs-common: fix build on 5.15

Fixes: #8599
This commit is contained in:
AmadeusGhost 2021-12-30 23:20:38 +08:00
parent c6edc4c192
commit d35b0161d0

View File

@ -408,7 +408,7 @@ $(eval $(call KernelPackage,fs-nfs-ssc))
define KernelPackage/fs-nfs-common
SUBMENU:=$(FS_MENU)
TITLE:=Common NFS filesystem modules
DEPENDS:=+LINUX_5_10:kmod-fs-nfs-ssc
DEPENDS:=+!LINUX_5_4:kmod-fs-nfs-ssc
KCONFIG:= \
CONFIG_LOCKD \
CONFIG_SUNRPC \
@ -416,8 +416,7 @@ define KernelPackage/fs-nfs-common
FILES:= \
$(LINUX_DIR)/fs/lockd/lockd.ko \
$(LINUX_DIR)/net/sunrpc/sunrpc.ko \
$(LINUX_DIR)/fs/nfs_common/grace.ko \
$(LINUX_DIR)/fs/nfs_common/nfs_ssc.ko@ge5.10
$(LINUX_DIR)/fs/nfs_common/grace.ko
AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
endef