[U-Boot] [PATCH v2] Make FIT support really optional

Tom Rini trini at konsulko.com
Wed Jun 8 14:17:44 CEST 2016


On Wed, Jun 08, 2016 at 07:47:12AM +0200, Thomas Petazzoni wrote:
> Hello,
> 
> On Tue, 7 Jun 2016 21:18:17 -0300 (BRT), Carlos Santos wrote:
> 
> > There is already a configuration that makes FIT optional (CONFIG_FIT)
> > but it is partially broken because it does not really remove
> > FIT-related functionality from mkimage. That's the reason why it was
> > not possible to disable FIT in the Buildroot package. My patch aims
> > to fix that defect.
> 
> Ah, indeed, I forgot that the CONFIG_FIT option already existed. In
> this case, I agree that it should either exist and work, or not exist.

Here is the problem with host tools living along side configurable
binaries and sharing code.  With respect to mkimage, FIT support is
non-optional.  The only reason that FIT signature stuff is optional is
that it introduces too high of a set of dependencies for everyone else
to have installed to even compile mkimage which is in turn required by
the vast majority of targets.  If the failing message that we couldn't
run dtc is not clear enoguh, I am happy to take a patch to make the
problem and solution clearer.

I would go so far as to say that requiring bison and m4 (along with dtc)
to already be compiled in buildroot is not a step too far, but I'm an
OpenEmbedded guy so it's possible I'm just dependency-happy :)  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160608/3d0d0167/attachment.sig>


More information about the U-Boot mailing list