From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 12 Sep 2021 22:59:53 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mPWZt-0004hO-HA for lore@lore.pengutronix.de; Sun, 12 Sep 2021 22:59:53 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mPWZt-0006Kl-4M; Sun, 12 Sep 2021 22:59:53 +0200 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPWZU-00063i-Ux; Sun, 12 Sep 2021 22:59:28 +0200 Received: from rhi by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mPWZU-0006BN-Jq; Sun, 12 Sep 2021 22:59:28 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Date: Sun, 12 Sep 2021 22:59:21 +0200 Message-Id: <20210912205925.23644-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de Subject: [ptxdist] [PATCH v3 1/5] kernel: make sure that kbuild can extract keys from the HSM X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false 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 --- 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 ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de