From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200515142641.812-13-bst@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Tue, 19 May 2020 14:23:44 +0200 Subject: Re: [ptxdist] [APPLIED] code-signing: introduce for ptxconfig, add sanity check 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 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bastian Krause Thanks, applied as c691a61e4b244d30b046289655228981d27adc2c. Michael [sent from post-receive hook] On Tue, 19 May 2020 14:23:44 +0200, Bastian Krause wrote: > Create a new rules/code-signing.in to be able to select CODE_SIGNING > not only in platformconfig but also in ptxconfig. > > Also make sure that PTXCONF_CODE_SIGNING_PROVIDER is set correctly if > PTXCONF_CODE_SIGNING is set. > > Signed-off-by: Bastian Krause > Message-Id: <20200515142641.812-13-bst@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/code-signing.in b/rules/code-signing.in > new file mode 100644 > index 000000000000..ae2ba726d209 > --- /dev/null > +++ b/rules/code-signing.in > @@ -0,0 +1,4 @@ > +## SECTION=hosttools_noprompt_ptx > + > +config CODE_SIGNING > + bool > diff --git a/rules/code-signing.make b/rules/code-signing.make > new file mode 100644 > index 000000000000..db1c5ab884af > --- /dev/null > +++ b/rules/code-signing.make > @@ -0,0 +1,13 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Bastian Krause > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +ifdef PTXCONF_CODE_SIGNING > +ifeq ($(call remove_quotes,$(PTXCONF_CODE_SIGNING_PROVIDER)),) > +$(error PTXCONF_CODE_SIGNING_PROVIDER must be set correctly) > +endif > +endif _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de