[yocto] Packaging foo required!

Chris Tapp opensource at keylevel.com
Fri Oct 10 17:08:13 PDT 2014


On 11 Oct 2014, at 00:19, Chris Tapp <opensource at keylevel.com> wrote:

> I've got a recipe that builds the turbosight kernel drivers. This currently builds loads of stuff, most of which I don't want to install in the final image.
> 
> I would like to use MACHINE_EXTRA_RDEPENDS in my local.conf to pull in the modules that I actually need, but that doesn't trigger building of 'turbosight' as the recipe only RPROVIDES 'turbosight'.
> 
> I can get round this by manually adding RPROVIDES_${PN} = "kernel-module-x" entries to the recipe for each module, but there are lots and that would be rather painful if I did it for all the modules!
> 
> Is there some magic I can use to automatically generate a list of RPROVIDES for all of the packages that are produced, or should this already be happening?

Of course not - the list wouldn't exist until after the recipe was run, so it's a chicken / egg problem ;-)

--

Chris Tapp
opensource at keylevel.com
www.keylevel.com

----
You can tell you're getting older when your car insurance gets real cheap!




More information about the yocto mailing list