aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-02-09 18:58:29 -0800
committerChristian Lamparter <chunkeey@gmail.com>2022-02-19 18:29:42 +0100
commit666d427652b7ec0b9b4f761a0faf828b14b4f9ca (patch)
tree6ced334fec59e83c8f30efb3dc39d0c4943baa61 /package
parent63f32eb88ee6a4ed96bf28e9b93383e8064a0597 (diff)
downloadupstream-666d427652b7ec0b9b4f761a0faf828b14b4f9ca.tar.gz
upstream-666d427652b7ec0b9b4f761a0faf828b14b4f9ca.tar.bz2
upstream-666d427652b7ec0b9b4f761a0faf828b14b4f9ca.zip
linux/modules: split up oid_registry
This will be needed by ksmbd in a following commit. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/fs.mk4
-rw-r--r--package/kernel/linux/modules/lib.mk10
2 files changed, 12 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index f9e1b132c7..b6d2a120d4 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -380,6 +380,7 @@ $(eval $(call KernelPackage,fs-nfs))
define KernelPackage/fs-nfs-common
SUBMENU:=$(FS_MENU)
TITLE:=Common NFS filesystem modules
+ DEPENDS:=+kmod-oid-registry
KCONFIG:= \
CONFIG_LOCKD \
CONFIG_SUNRPC \
@@ -412,10 +413,9 @@ define KernelPackage/fs-nfs-common-rpcsec
CONFIG_SUNRPC_GSS \
CONFIG_RPCSEC_GSS_KRB5
FILES:= \
- $(LINUX_DIR)/lib/oid_registry.ko \
$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
$(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
- AUTOLOAD:=$(call AutoLoad,31,oid_registry auth_rpcgss rpcsec_gss_krb5)
+ AUTOLOAD:=$(call AutoLoad,31,auth_rpcgss rpcsec_gss_krb5)
endef
define KernelPackage/fs-nfs-common-rpcsec/description
diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk
index 9a341932bd..965612df3e 100644
--- a/package/kernel/linux/modules/lib.mk
+++ b/package/kernel/linux/modules/lib.mk
@@ -272,3 +272,13 @@ define KernelPackage/asn1-decoder
endef
$(eval $(call KernelPackage,asn1-decoder))
+
+define KernelPackage/oid-registry
+ SUBMENU:=$(LIB_MENU)
+ TITLE:=Object identifier registry
+ KCONFIG:= CONFIG_OID_REGISTRY
+ FILES:=$(LINUX_DIR)/lib/oid_registry.ko
+ AUTOLOAD:=$(call AutoLoad,31,oid_registry)
+endef
+
+$(eval $(call KernelPackage,oid-registry))