[yocto] CMake in populate_sdk

Philip Balister philip at balister.org
Tue Jan 20 17:28:53 PST 2015


On 01/20/2015 02:42 PM, Benjamin Fleming wrote:
> How do I add packages to the populate_sdk option? 
> I have an image (myimage) that depends on some custom packages which inherit the cmake bbclass. My expectation is that the populate_sdk task would notice that cmake is required for building and, as a result add cmake to the SDK. That is not the case. Also, for some reason, make is not included, either:
> 
> $ source /opt/poky/1.6.2/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi
> $ which automake
> /opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/bin/automake
> $ which make
> usr/bin/make
> 
> What should I be adding to cause the inclusion of CMake in the SDK output? 

Something like this:

https://github.com/balister/meta-sdr/blob/master/recipes-images/images/native-sdk.inc

Philip

> 
> -Ben Fleming
> 



More information about the yocto mailing list