DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Alexander Dahl <post@lespocky.de>, distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH] tf-a: Add missing dependency to host dtc
Date: Thu, 19 Mar 2020 17:28:47 +0100	[thread overview]
Message-ID: <cfb43f1f-a9e4-fab3-ba15-fbcb8095b577@pengutronix.de> (raw)
In-Reply-To: <20200314130506.19889-1-post@lespocky.de>

Hi,

On 3/14/20 2:05 PM, Alexander Dahl wrote:
> Build after clean all failed like this:
> 
>     /bin/sh: 1: dtc: not found
>     dtc version too old (), you need at least version 1.4.4
> 
> A quick inspection of the tf-a source showed dtc is only needed for
> stm32 when TF_A_EXTRA_ARGS is used, like it is done currently in
> DistroKit, so a global dependency might be to broad. However dtc is
> probably needed for arm targets anyway, so it should not hurt that
> much?!

It's needed for few other platforms that use device tree as well,
but most don't use it.
I also that think enabling it unconditionally is ok.

I'll include your change in my v5 for the upstream tf-a rule,
Thanks!

> Signed-off-by: Alexander Dahl <post@lespocky.de>

Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>

> ---
>  rules/tf-a.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/rules/tf-a.in b/rules/tf-a.in
> index 3cddf79..ba04f44 100644
> --- a/rules/tf-a.in
> +++ b/rules/tf-a.in
> @@ -2,6 +2,7 @@
>  
>  menuconfig TF_A
>  	select BOOTLOADER
> +	select HOST_DTC
>  	prompt "ARM Trusted Firmware-A        "
>  	depends on ARCH_ARM || ARCH_ARM64
>  	bool
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  reply	other threads:[~2020-03-19 16:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-14 13:05 Alexander Dahl
2020-03-19 16:28 ` Ahmad Fatoum [this message]
2020-03-19 19:31   ` 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=cfb43f1f-a9e4-fab3-ba15-fbcb8095b577@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=post@lespocky.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