kernel: expose (unhide) CONFIG_ASN1 as ksmbd requirement
authorRafał Miłecki <rafal@milecki.pl>
Mon, 23 Jan 2023 12:23:29 +0000 (13:23 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 25 Jan 2023 11:01:16 +0000 (12:01 +0100)
commit944265347a81eadc3354731d5f739a6a4fdf6e7b
tree1d52fff22593f4f8af8e0ef890f12305e53a0f5c
parent8b46a263ab4afaf9857f0d29d369c2eefbf8a4f4
kernel: expose (unhide) CONFIG_ASN1 as ksmbd requirement

OpenWrt provides kmod-asn1-decoder for CONFIG_ASN1 but selecting it
doesn't really work as expected. Kernel symbol is hidden and can be
actually selected only as a dependency. That works well for in-kernel
stuff but fails for external modules requiring ASN1 like ksmbd.

Modify kernel Kconfig to make CONFIG_ASN1 always selectable. It's
required to satisfy ksmbd dependencies cleanly (without hack like
selecting unrelated modules).

Link: http://lists.openwrt.org/pipermail/openwrt-devel/2023-January/040298.html
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/generic/hack-5.4/252-init-Kconfig-make-ASN1-explicitly-selectable-unhide-.patch [new file with mode: 0644]