For the situation where a recipe is required to build a final image, but the output is not needed in the root filesystem, the EXTRA_IMAGEDEPENDS variable can be used to define this dependency. Bootloaders seem to be the common example for this (such as the beagleboard dependency on uboot).
This variable is not defined in the poky manual nor in the documentation tags (meta/conf/documentation.conf). Another aspect of this that could be made more explicit in the manual is that the various *RRECOMMENDS and *RDEPENDS variables impact what is installed in the root filesystem (because they operate on packages - not recipes). Scott, I'd recommend a few extra words in the *RRECOMMENDS and *RDEPENDS documentation to this effect. For example, "... a list of packages to install TO THE ROOT FILESYSTEM ...". As for the EXTRA_IMAGEDEPENDS definition, perhaps something like this: in documentation.conf: EXTRA_IMAGEDEPENDS[doc] = "Recipes to build that do not install packages to the root filesystem, such as bootloaders." in the reference manual: EXTRA_IMAGEDEPENDS A list of recipes to be built that do not provide packages to be installed in the root filesystem. This is typically used to specify a required bootloader in a machine config. Note: To add packages to the root filesystem, see the various *DEPENDS and *RECOMMENDS variables. Scott, I'll leave the reference manual changes to you. RP, if you agree with my doc tag, I can submit a patch for that. Thanks, -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto