Bug 11047 - add cmake tool to sdk generation for published sdk's
Summary: add cmake tool to sdk generation for published sdk's
Status: RESOLVED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3
Assignee: brian avery
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-02-10 18:27 UTC by brian avery
Modified: 2017-03-17 22:31 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brian avery 2017-02-10 18:27:20 UTC
We have a cmake mode on our eclipse plugin but it basically relies on host cmake to function with the cross toolchains in the sdk. Similarly, if you use the cli sdk to do a cmake build. If we include cmake in the sdk, we can avoid using the host version.
Comment 1 brian avery 2017-02-10 18:51:56 UTC
added henry so he can comment
Comment 2 Henry Bruce 2017-02-10 19:23:57 UTC
This is caused by the 1:1 mapping of host tools used to build an image to nativesdk tools that appear in the SDK. So if your image contains no cmake built packages, you won't get cmake in the SDK. Which in my mind means it's not really an SDK. 

Provided you use devtool, the eSDK solves this by fetching (and building if not in eSDK sstate mirror) the required tools, as long as they exist in the layers used to build the image. I'm not sure if this "auto-add" is possible with Eclipse integration. 

This begs the bigger question of whether we make out "SDKs" more usable by adding commonly used host tools that may not be automatically included.
Comment 3 brian avery 2017-03-14 19:06:15 UTC
Adding Joshua. 
The short term adding cmake. Would that be adjusting the autobuilder configuration for making the sdk and esdk?
Assigning to Joshua for info :)
Comment 4 Joshua Lock 2017-03-15 15:43:58 UTC
(In reply to comment #3)
> Adding Joshua. 
> The short term adding cmake. Would that be adjusting the autobuilder
> configuration for making the sdk and esdk?
> Assigning to Joshua for info :)

I think doing this on the autobuilder would be the wrong approach.

If we want to include CMake in the SDK we should probably add nativesdk-cmake to meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb (this then gets included both SDK flavours).

nativesdk-cmake is 20MB, which isn't too much of a size impact for an SDK.
Comment 5 Stephen K Jolley 2017-03-17 17:27:18 UTC
It appears the question has been answered.
Comment 6 brian avery 2017-03-17 22:31:24 UTC
in master: 7e0985bab68547f946163828a16beab7542fca2e