mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] tf-a: support multiple wildcard patterns in TF_A_ARTIFACTS
Date: Fri,  1 Jul 2022 07:10:37 +0200	[thread overview]
Message-ID: <20220701051037.3681180-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220620140851.2349897-2-a.fatoum@pengutronix.de>

Thanks, applied as 0776a4aaf6e764356b37506efd28d03b2454a03a.

Michael

[sent from post-receive hook]

On Fri, 01 Jul 2022 07:10:37 +0200, Ahmad Fatoum <a.fatoum@pengutronix.de> wrote:
> To assemble FIT images outside TF-A, we will need to collect more
> than can be expressed by a single wildcard, so extend TF_A_ARTIFACTS
> to support multiple space separated patterns.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> Message-Id: <20220620140851.2349897-2-a.fatoum@pengutronix.de>
> [mol: remove one $() too many]
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/tf-a.make b/rules/tf-a.make
> index 7695a4c546e3..5fa0df941cc4 100644
> --- a/rules/tf-a.make
> +++ b/rules/tf-a.make
> @@ -40,6 +40,8 @@ TF_A_ARTIFACTS		:= $(call remove_quotes, $(PTXCONF_TF_A_ARTIFACTS))
>  TF_A_WRAPPER_BLACKLIST	:= \
>  	$(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
>  
> +TF_A_EXTRA_ARGS		:= $(call remove_quotes,$(PTXCONF_TF_A_EXTRA_ARGS))
> +TF_A_BINDIR		 = $(TF_A_BUILDDIR)/$(1)/$(if $(filter DEBUG=1,$(TF_A_EXTRA_ARGS)),debug,release)
>  TF_A_PATH	:= PATH=$(CROSS_PATH)
>  TF_A_MAKE_OPT	:= \
>  	-C $(TF_A_DIR) \
> @@ -48,7 +50,7 @@ TF_A_MAKE_OPT	:= \
>  	ARCH=$(PTXCONF_TF_A_ARCH_STRING) \
>  	ARM_ARCH_MAJOR=$(PTXCONF_TF_A_ARM_ARCH_MAJOR) \
>  	BUILD_STRING=$(PTXCONF_TF_A_VERSION) \
> -	$(call remove_quotes,$(PTXCONF_TF_A_EXTRA_ARGS)) \
> +	$(TF_A_EXTRA_ARGS) \
>  	all
>  
>  ifdef PTXCONF_TF_A_BL32_TSP
> @@ -89,7 +91,7 @@ $(STATEDIR)/tf-a.compile:
>  # ----------------------------------------------------------------------------
>  
>  tf-a/inst_plat = $(foreach artifact, \
> -	$(wildcard $(TF_A_BUILDDIR)/$(1)/$(if $(filter DEBUG=1,$(call remove_quotes,$(PTXCONF_TF_A_EXTRA_ARGS))),debug,release)/$(TF_A_ARTIFACTS)), \
> +	$(wildcard $(addprefix $(TF_A_BINDIR)/, $(TF_A_ARTIFACTS))), \
>  	install -v -D -m 644 $(artifact) \
>  		$(2)/$(1)-$(notdir $(artifact))$(ptx/nl))
>  



  parent reply	other threads:[~2022-07-01  5:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 14:08 [ptxdist] [PATCH v2 1/2] tf-a: add new host-tf-a recipe Ahmad Fatoum
2022-06-20 14:08 ` [ptxdist] [PATCH v2 2/2] tf-a: support multiple wildcard patterns in TF_A_ARTIFACTS Ahmad Fatoum
2022-06-24  7:42   ` Michael Olbrich
2022-07-01  5:10   ` Michael Olbrich [this message]
2022-06-20 14:10 ` [ptxdist] [PATCH v2 1/2] tf-a: add new host-tf-a recipe Ahmad Fatoum
2022-07-01  5:10 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220701051037.3681180-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox