mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Christian Melki <christian.melki@t2data.com>
Subject: Re: [ptxdist] [APPLIED] tf-a: Make URL configurable.
Date: Fri, 10 Dec 2021 14:07:03 +0100	[thread overview]
Message-ID: <20211210130703.3899466-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20211129142657.595373-1-christian.melki@t2data.com>

Thanks, applied as 7ce9220827948602b60bfb317d0c9a29f933f0ae.

Michael

[sent from post-receive hook]

On Fri, 10 Dec 2021 14:07:02 +0100, Christian Melki <christian.melki@t2data.com> wrote:
> Since both version and md5 variables are configurable,
> might aswell complete it with URL one.
> This enables tf-a.make to build other TF-A trees,
> other than the default one.
> Most notably, CodeAurora i.MX or other downstream vendor trees.
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20211129142657.595373-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/platforms/tf-a.in b/platforms/tf-a.in
> index 0936319f1b81..82df480ab3c3 100644
> --- a/platforms/tf-a.in
> +++ b/platforms/tf-a.in
> @@ -9,6 +9,13 @@ menuconfig TF_A
>  
>  if TF_A
>  
> +config TF_A_URL
> +	string
> +	default "https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot"
> +	prompt "TF-A URL"
> +	help
> +	  Enter the TF-A URL you want to use.
> +
>  config TF_A_VERSION
>  	string
>  	default "v2.2"
> diff --git a/rules/tf-a.make b/rules/tf-a.make
> index dc8a34710e4e..25fdb0cd213a 100644
> --- a/rules/tf-a.make
> +++ b/rules/tf-a.make
> @@ -19,7 +19,7 @@ TF_A_VERSION	:= $(call ptx/config-version, PTXCONF_TF_A)
>  TF_A_MD5	:= $(call ptx/config-md5, PTXCONF_TF_A)
>  TF_A		:= tf-a-$(TF_A_VERSION)
>  TF_A_SUFFIX	:= tar.gz
> -TF_A_URL	:= https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/$(TF_A_VERSION).$(TF_A_SUFFIX)
> +TF_A_URL	:= $(PTXCONF_TF_A_URL)/$(TF_A_VERSION).$(TF_A_SUFFIX)
>  TF_A_SOURCE	:= $(SRCDIR)/$(TF_A).$(TF_A_SUFFIX)
>  TF_A_DIR	:= $(BUILDDIR)/$(TF_A)
>  TF_A_BUILDDIR	:= $(TF_A_DIR)/build

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


      reply	other threads:[~2021-12-10 13:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-29 14:26 [ptxdist] [PATCH] " Christian Melki
2021-12-10 13:07 ` Michael Olbrich [this message]

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=20211210130703.3899466-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=christian.melki@t2data.com \
    --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