CODE_SIGNING_ENV provides the config files and the PKCS11 engine for OpenSSL and SoftHSM, which kbuild calls when signing the kernel modules.
Fixes: 3ffb3585dd13de9e20d1 (2021-07-23, "kernel: add support for module signing") Signed-off-by: Roland Hieber <[email protected]> --- PATCH v3: - new in v3, and yet another case of "how did this ever work before?" --- rules/kernel.make | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rules/kernel.make b/rules/kernel.make index 9caff677918e..7a4642f3d07f 100644 --- a/rules/kernel.make +++ b/rules/kernel.make @@ -187,6 +187,9 @@ $(STATEDIR)/kernel.tags: # Compile # ---------------------------------------------------------------------------- +KERNEL_MAKE_ENV += \ + $(CODE_SIGNING_ENV) + KERNEL_MAKE_OPT = \ $(call kernel/deprecated, KERNEL_MAKE_OPT) \ $(KERNEL_SHARED_OPT) \ @@ -254,6 +257,9 @@ endif # Install # ---------------------------------------------------------------------------- +KERNEL_INSTALL_ENV += \ + $(CODE_SIGNING_ENV) + KERNEL_INSTALL_OPT = \ $(KERNEL_BASE_OPT) \ modules_install -- 2.30.2 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
