On Tue, Apr 07, 2020 at 12:20:15PM +0100, Peter Maydell wrote:
> On Tue, 7 Apr 2020 at 12:16, Claudio Fontana <cfont...@suse.de> wrote:
> >
> > if fdt is required, and the system DTC (libfdt) is not usable,
> > check for the dtc submodule requirements before trying to build it,
> > and error out with a helpful message in case the dependencies are not met.
> >
> > Signed-off-by: Claudio Fontana <cfont...@suse.de>
> 
> Does the dtc module actually need bison/flex, or does it just
> print an ugly warning about it? We only want the 'libfdt' part
> of dtc, which doesn't need the parser, we don't need to build
> the actual dtc compiler.

Assuming we're just invoking "make libfdt" within the submodule,
rather than "make" which will build dtc as well, then bison / flex
shouldn't be needed.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature

Reply via email to