[yocto] Fwd: Trimming BOOST libraries installed
gabbla.malist at gmail.com
Thu Mar 28 05:39:49 PDT 2019
Forgot to include the mailing list
---------- Forwarded message ---------
Da: Gabriele Zampieri <gabbla.malist at gmail.com>
Date: gio 28 mar 2019 alle ore 13:38
Subject: Re: [yocto] Trimming BOOST libraries installed
To: Burton, Ross <ross.burton at intel.com>
Thank you for the fast reply.
So I just specify the dependencies in my recipes, and then remove
IMAGE_INSTALL_append = " boost". Am I right?
Which name should I use with DEPEND?
Il giorno gio 28 mar 2019 alle ore 13:15 Burton, Ross <ross.burton at intel.com>
> On Thu, 28 Mar 2019 at 10:59, Gabriele Zampieri <gabbla.malist at gmail.com>
> > I'm building a custom image that install boost libraries:
> > IMAGE_INSTALL_append = " boost"
> > How can I trim the installed libraries? I see inside
> meta/recipes-support/boost/boost.inc a variable called BOOST_LIBS that
> lists all the boost components, so in my custom-image.bb I tried:
> The easy solution is to not do that. The application you're building
> should DEPEND on boost and then the RDEPENDS will be populated for
> you, and be the required set not the full set.
> If you really want to explicitly install some packages, then don't
> install "boost" which is a meta-package depending on all boost
> libraries. The sub-libraries are called eg boost-atomic.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the yocto