Skip to content

Port yocto integration from Conan 1.x #4002

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 9 commits into
base: release/2.12
Choose a base branch
from

Conversation

uilianries
Copy link
Member

Hello!

This PR is a port of the Yocto integration from Conan 1.x docs: https://docs.conan.io/1/integrations/cross_platform/yocto.html#set-up-the-conan-layer

The meta-conan is now available for Conan 2.x, so it may worth updating the documentation too.

https://github.com/conan-io/meta-conan/tree/conan2/scarthgap

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries uilianries requested a review from czoido February 25, 2025 17:20
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to have a full working example, that can be cloned (examples2 repo) and fully built, with a story of a full built package (like the one with conan new cmake_lib), (not necessary to force the upload to server, can be used from the cache)

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Member Author

I think it would be better to have a full working example, that can be cloned (examples2 repo) and fully built, with a story of a full built package (like the one with conan new cmake_lib), (not necessary to force the upload to server, can be used from the cache)

Do you mean a separated PR with the example for meta yocto? Or using this integration section instead? Anyway, the idea sounds good of having a functional example.

@memsharded
Copy link
Member

Do you mean a separated PR with the example for meta yocto? Or using this integration section instead? Anyway, the idea sounds good of having a functional example.

Most of the detailed code can be in a functional example, leaving in the "Integration" section the high level description of the components, the layers, the flows, etc.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants