From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 29 Sep 2021 13:54:10 +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 1mVYA6-0007T6-Lt for lore@lore.pengutronix.de; Wed, 29 Sep 2021 13:54:10 +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 1mVYA6-0005aj-5G; Wed, 29 Sep 2021 13:54:10 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVY9w-0005Zz-UM; Wed, 29 Sep 2021 13:54:00 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mVY9w-0004y4-D0; Wed, 29 Sep 2021 13:54:00 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mVY9w-00AmO5-A7; Wed, 29 Sep 2021 13:54:00 +0200 Date: Wed, 29 Sep 2021 13:54:00 +0200 From: Michael Olbrich To: Roland Hieber , ptxdist@pengutronix.de Message-ID: <20210929115400.GF2560099@pengutronix.de> Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de References: <20210912205925.23644-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210912205925.23644-1-rhi@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [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 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 On Sun, Sep 12, 2021 at 10:59:21PM +0200, Roland Hieber wrote: > 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) This should not be needed. KERNEL_MAKE_ENV should be used for compile and install. Build with '-v' to see the commandline. Michael > + > 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 > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de