From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 20 Jul 2021 13:50:01 +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 1m5oG9-0002MV-Er for lore@lore.pengutronix.de; Tue, 20 Jul 2021 13:50:01 +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 1m5oG8-0004hA-TP; Tue, 20 Jul 2021 13:50:00 +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 1m5oEs-00032m-OR; Tue, 20 Jul 2021 13:48:42 +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 1m5oEs-0002W8-8c; Tue, 20 Jul 2021 13:48:42 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m5oEs-00Apsb-87; Tue, 20 Jul 2021 13:48:42 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Tue, 20 Jul 2021 13:48:42 +0200 Message-Id: <20210720114842.2582110-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210708203941.30212-4-rhi@pengutronix.de> References: <20210708203941.30212-4-rhi@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] templates/barebox-imx-habv4: use the 'imx-habv4-srk' role group 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 Thanks, applied as 67083fd28c7a49d9cca8866f8ff51cdf1728b6b9. Michael [sent from post-receive hook] On Tue, 20 Jul 2021 13:48:42 +0200, Roland Hieber wrote: > The previous patch taught new code signing providers to set up the > 'imx-habv4-srk' role group. This patch uses it for the barebox-imx-habv4 > recipe. > > Keep backwards compatibility with the old way of using indexed role > names in the library part, so existing recipes can still work with > ptxd_make_imx_habv4_gen_table() if their code signing provider sets up > the roles appropriately. > > Signed-off-by: Marc Kleine-Budde > Signed-off-by: Roland Hieber > Message-Id: <20210708203941.30212-4-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/templates/template-barebox-imx-habv4-make b/rules/templates/template-barebox-imx-habv4-make > index eb752c8349d9..cc825dc90292 100644 > --- a/rules/templates/template-barebox-imx-habv4-make > +++ b/rules/templates/template-barebox-imx-habv4-make > @@ -74,7 +74,7 @@ $(STATEDIR)/barebox-@package@.compile: > @$(call targetinfo) > > @$(call world/env, BAREBOX_@PACKAGE@) \ > - ptxd_make_imx_habv4_gen_table "imx-habv4-srk%d" 4 > + ptxd_make_imx_habv4_gen_table imx-habv4-srk > > @$(call world/compile, BAREBOX_@PACKAGE@) > > diff --git a/scripts/lib/ptxd_lib_imx_hab.sh b/scripts/lib/ptxd_lib_imx_hab.sh > index d1e2aba99fab..fa5b3e2c1439 100644 > --- a/scripts/lib/ptxd_lib_imx_hab.sh > +++ b/scripts/lib/ptxd_lib_imx_hab.sh > @@ -9,12 +9,14 @@ > # > # ptxd_make_imx_habv4_gen_table - generate the srk fuse file and srk table for i.MX HABv4 > # > -# usage: ptxd_make_imx_habv4_gen_table