From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Christian Melki" <christian.melki@t2data.com>,
"Ahmad Fatoum" <a.fatoum@pengutronix.de>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: [ptxdist] [PATCH 2/2] tf-a: support multiple wildcard patterns in TF_A_ARTIFACTS
Date: Thu, 2 Jun 2022 08:38:23 +0200 [thread overview]
Message-ID: <20220602063823.3045052-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20220602063823.3045052-1-a.fatoum@pengutronix.de>
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>
---
rules/tf-a.make | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rules/tf-a.make b/rules/tf-a.make
index 7695a4c546e3..e96aaf3aa6f9 100644
--- a/rules/tf-a.make
+++ b/rules/tf-a.make
@@ -89,7 +89,8 @@ $(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)), \
+ $(foreach pattern, $(TF_A_ARTIFACTS), \
+ $(wildcard $(TF_A_BUILDDIR)/$(1)/$(if $(filter DEBUG=1,$(call remove_quotes,$(PTXCONF_TF_A_EXTRA_ARGS))),debug,release)/$(pattern))), \
install -v -D -m 644 $(artifact) \
$(2)/$(1)-$(notdir $(artifact))$(ptx/nl))
--
2.30.2
next prev parent reply other threads:[~2022-06-02 6:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 6:38 [ptxdist] [PATCH 1/2] tf-a: add new host-tf-a recipe Ahmad Fatoum
2022-06-02 6:38 ` Ahmad Fatoum [this message]
2022-06-03 6:33 ` [ptxdist] [PATCH 2/2] tf-a: support multiple wildcard patterns in TF_A_ARTIFACTS Michael Olbrich
2022-06-03 9:38 ` [ptxdist] [PATCH 1/2] tf-a: add new host-tf-a recipe 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=20220602063823.3045052-2-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
--cc=u.kleine-koenig@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