[Buildroot] [PATCH 2/2] package/babeltrace: enable debug info support for the host variant

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 3 08:25:40 UTC 2016


Hello,

On Wed, 2 Nov 2016 19:07:11 -0400, Philippe Proulx wrote:

> > Since the dependency on elfutils is not mandatory, do we really want to
> > force building the support of debug info?  
> 
> Ideally, no. I guess we should use the same strategy as for the target package.

Except we don't have Config.in options for host packages, and even if
we plan to add such options, we clearly don't want to add *visible*
options for every host package.

So for the host-lttng-babeltrace, the only solution would be to have a
sub-option to enable debug info support. But that would make it handled
differently than the debug info dependency for the target
lttng-babeltrace.

I don't really have a good answer here, I'm afraid.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list