From 666d427652b7ec0b9b4f761a0faf828b14b4f9ca Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 9 Feb 2022 18:58:29 -0800 Subject: [PATCH] linux/modules: split up oid_registry This will be needed by ksmbd in a following commit. Signed-off-by: Rosen Penev --- package/kernel/linux/modules/fs.mk | 4 ++-- package/kernel/linux/modules/lib.mk | 10 ++++++++++ target/linux/generic/config-5.10 | 1 + 3 files changed, 13 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)) diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index e96f9866ca..f209086fc2 100644 --- a/target/linux/generic/config-5.10 +++ b/target/linux/generic/config-5.10 @@ -4236,6 +4236,7 @@ CONFIG_NMI_LOG_BUF_SHIFT=13 # CONFIG_OF_OVERLAY is not set CONFIG_OF_RESERVED_MEM=y # CONFIG_OF_UNITTEST is not set +# CONFIG_OID_REGISTRY is not set # CONFIG_OMAP2_DSS_DEBUG is not set # CONFIG_OMAP2_DSS_DEBUGFS is not set # CONFIG_OMAP2_DSS_SDI is not set -- 2.30.2