[Buildroot] [PATCH 2/2] package/tegrarcm: select host-cryptopp and drop BR2_arm dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 13 19:58:36 UTC 2018


Hello Carlos,

On Wed, 12 Dec 2018 07:59:08 -0200 (BRST), Carlos Santos wrote:

> > Of course we can't do it all in one big shot, but still it should probably be
> > approached in a somewhat more structured way. For example, when we add a
> > Config.in.host for a package, we also (perhaps in a separate commit) add the
> > select statements for it in all packages that depend on it.
> > 
> > 
> > Also note that the idea was to make these Config.in.host options blind (i.e.
> > promptless).  
> 
> Make sense if the host package exists only to support building another
> package (that selects and depends on it) but there are other reasons
> why a host package may be necessary, e.g. I need host-mtools for a
> post-image script.

Yes, of course, we want *some* host packages to be visible in
menuconfig.

Basically, the current situation is:

 * Most host packages don't have any Config.in.host options (blind or
   visible), because they are merely build dependencies of other
   packages.

 * A few host packages do have a visible Config.in.host because they
   are useful by themselves, and not just as a build dependency of
   something else: image generation tools, flashing tools, qemu, etc.

The idea we have for the future is:

 * All host packages have a Config.in.host option.

 * The host packages that are only build dependencies of other packages
   have a blind Config.in.host option

 * The host packages that are useful by themselves continue to have a
   visible Config.in.host option.

Does that clarify where we want to go ?

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list