DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH] tf-a: Add missing dependency to host dtc
Date: Thu, 19 Mar 2020 20:31:12 +0100	[thread overview]
Message-ID: <20200319193112.GH2448@pengutronix.de> (raw)
In-Reply-To: <cfb43f1f-a9e4-fab3-ba15-fbcb8095b577@pengutronix.de>

On Thu, Mar 19, 2020 at 05:28:47PM +0100, Ahmad Fatoum wrote:
> 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.

What about an option? Similar to the BAREBOX_NEEDS_* options.

Michael

> 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
> 

-- 
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 19:31 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
2020-03-19 19:31   ` 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=20200319193112.GH2448@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=distrokit@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