Re: Excluding recipe u-boot-fw-utils from a target build #yocto
On Mon, Jan 20, 2020 at 09:38:21PM -0800, Richard.W wrote:
I am using Yocto "Rocko" and an older u-boot bootloader with it (2013.10). The machine target is an i.mx6 and so I am including the freescale imx layers.Some packages are pulled as runtime dependencies (RDEPENDS from a
package that is installed, or via the auto-RDEPENDS mechanism which
detects if a package is a provider of a shlib required by another
Some packages are pulled as runtime recommendations (RRECOMMENDATIONS
from a package that is installed).
Also, packages can be pulled for the same reasons by a machine conf file
For RDEPENDS, except removing the package RDEPENDS-ing on the package you don't
want to install, or removing the package you don't want to install from
the list of RDEPENDS and adapting the package's recipe to build without
(if even possible), there is no real way.
To detect all recipes requiring this package at runtime, you can use
PACKAGE_EXCLUDE = "<idontwantthispackage>" in your conf/local.conf and
fix all the packages which are failing to build when that variable is
For RRECOMMENDATIONS, you can try to use BAD_RECOMMENDATIONS in your
image recipe. NO_RECOMMENDATIONS should work as well but it's more
Please have a look at all those variables in the mega-manual:
Hopefully you don't need the tools from u-boot-fw-utils but know that it
is sometimes used by upgrade SW such as SWUpdate if I'm not mistaken.