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 <[email protected]> --- Changes since (implicit) v1: - re-add accidentally dropped rules/code-signing.in introducing CODE_SIGNING for ptxconfig - move before "rauc/image-rauc: use code signing infrastructure for key retrieval" --- rules/code-signing.in | 4 ++++ rules/code-signing.make | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 rules/code-signing.in create mode 100644 rules/code-signing.make diff --git a/rules/code-signing.in b/rules/code-signing.in new file mode 100644 index 000000000..ae2ba726d --- /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 000000000..db1c5ab88 --- /dev/null +++ b/rules/code-signing.make @@ -0,0 +1,13 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Bastian Krause <[email protected]> +# +# 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 -- 2.26.2 _______________________________________________ ptxdist mailing list [email protected]
