Forgot to include the mailing list ---------- Forwarded message --------- Da: Gabriele Zampieri <gabbla.mal...@gmail.com> Date: gio 28 mar 2019 alle ore 13:38 Subject: Re: [yocto] Trimming BOOST libraries installed To: Burton, Ross <ross.bur...@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? Thanks, Gabriele Il giorno gio 28 mar 2019 alle ore 13:15 Burton, Ross <ross.bur...@intel.com> ha scritto: > On Thu, 28 Mar 2019 at 10:59, Gabriele Zampieri <gabbla.mal...@gmail.com> > wrote: > > 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. > > Ross >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto