<div dir="ltr">Hi,<div><br></div><div>Thanks for your response.</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">BR</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Mans Zigher</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-27 11:03 GMT+02:00 Burton, Ross <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The main problem is that protoc isn't in the protobuf packages, but<br>
protobuf-compiler (as can be seen with oe-pkgdata-util list-pkg-files<br>
-p protobuf).<br>
<br>
Add nativesdk-protobuf-compiler to TOOLCHAIN_HOST_TASK. You'll also<br>
want to use _append instead of += so you don't remove more than you<br>
add.<br>
<br>
Ross<br>
<div class="HOEnZb"><div class="h5"><br>
On 27 March 2018 at 09:25, Måns Zigher <<a href="mailto:mans.zigher@gmail.com">mans.zigher@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I have package that require protobuf and the compiler protoc. I have<br>
> included the following<br>
><br>
> DEPENDS += " protobuf protobuf-native"<br>
><br>
> and<br>
><br>
> RDEPENDS_${PN} += " protobuf"<br>
><br>
> The build works as intended the problem now is that the protoc is not<br>
> included in the SDK. In the Yocto ref manual I found the following<br>
> description for TOOLCHAIN_HOST_TASK<br>
><br>
> "This variable lists packages the OpenEmbedded build system uses when<br>
> building an SDK, which contains a cross-development environment. The<br>
> packages specified by this variable are part of the toolchain set that runs<br>
> on the SDKMACHINE, and each package should usually have the prefix<br>
> nativesdk-."<br>
><br>
> So I have also in by image bb-file included the following<br>
><br>
> TOOLCHAIN_HOST_TASK += " nativesdk-protobuf"<br>
><br>
> The build passed without any errors but the protoc is still not included in<br>
> the native sdk. It is form some reason included in the target part. I would<br>
> really appreciate if you could en-light me on this topic on how to include a<br>
> package in the sdk.<br>
><br>
> BR<br>
> Mans Zigher<br>
><br>
><br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<br>
> ______________________________<wbr>_________________<br>
> Openembedded-core mailing list<br>
> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
> <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
><br>
</font></span></blockquote></div><br></div>