<div dir="ltr">Hi,<div><br></div><div>I have package that require protobuf and the compiler protoc. I have included the following</div><div><br></div><div>DEPENDS += " protobuf protobuf-native"</div><div><br></div><div>and</div><div><br></div><div>RDEPENDS_${PN} += " protobuf"</div><div><br></div><div>The build works as intended the problem now is that the protoc is not included in the SDK. In the Yocto ref manual I found the following description for TOOLCHAIN_HOST_TASK</div><div><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif;font-size:medium"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif">"This variable lists packages the OpenEmbedded build system uses when building an SDK, which contains a cross-development environment. The packages specified by this variable are part of the toolchain set that runs on the</span><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif"> </span><a class="gmail-link" href="https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-SDKMACHINE" title="SDKMACHINE" style="background:transparent;font-family:Verdana,Sans,sans-serif;color:rgb(68,68,68)"><code class="gmail-filename" style="font-family:Courier,monospace">SDKMACHINE</code></a><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif">, and each package should usually have the prefix</span><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif"> </span><code class="gmail-filename" style="color:rgb(51,51,51);font-family:Courier,monospace">nativesdk-</code><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif">."</span></div><div><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif">So I have also in by image bb-file included the following</span></div><div><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif">TOOLCHAIN_HOST_TASK += " nativesdk-protobuf"</span></div><div><span style="color:rgb(51,51,51);font-family:Verdana,Sans,sans-serif"><br></span></div><div><font color="#333333" face="Verdana, Sans, sans-serif">The build passed without any errors but the protoc is still not included in the native sdk is included in the target part. I would really appreciate if you could en-light me on this topic on how to include a package in the sdk.</font></div><div><font color="#333333" face="Verdana, Sans, sans-serif"><br></font></div><div><font color="#333333" face="Verdana, Sans, sans-serif">BR</font></div><div><font color="#333333" face="Verdana, Sans, sans-serif">Mans Zigher</font></div><div><br></div></div>