From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Dec 2021 14:07:56 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mvfcy-0024ar-AE for lore@lore.pengutronix.de; Fri, 10 Dec 2021 14:07:56 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mvfcx-0005uV-NA; Fri, 10 Dec 2021 14:07:55 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvfc8-0005WL-EL; Fri, 10 Dec 2021 14:07:04 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1mvfc8-003mO7-CC; Fri, 10 Dec 2021 14:07:03 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1mvfc7-00GMRU-1m; Fri, 10 Dec 2021 14:07:03 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 10 Dec 2021 14:07:03 +0100 Message-Id: <20211210130703.3899466-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211129142657.595373-1-christian.melki@t2data.com> References: <20211129142657.595373-1-christian.melki@t2data.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] tf-a: Make URL configurable. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Christian Melki Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 7ce9220827948602b60bfb317d0c9a29f933f0ae. Michael [sent from post-receive hook] On Fri, 10 Dec 2021 14:07:02 +0100, Christian Melki 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 > Message-Id: <20211129142657.595373-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > 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