Re: [OE-core] Question about how to get package included in SDK

2018-03-27 Thread Måns Zigher
Hi, Thanks for your response. BR Mans Zigher 2018-03-27 11:03 GMT+02:00 Burton, Ross : > The main problem is that protoc isn't in the protobuf packages, but > protobuf-compiler (as can be seen with oe-pkgdata-util list-pkg-files > -p protobuf). > > Add nativesdk-protobuf-compiler to TOOLCHAIN_H

Re: [OE-core] Question about how to get package included in SDK

2018-03-27 Thread Burton, Ross
The main problem is that protoc isn't in the protobuf packages, but protobuf-compiler (as can be seen with oe-pkgdata-util list-pkg-files -p protobuf). Add nativesdk-protobuf-compiler to TOOLCHAIN_HOST_TASK. You'll also want to use _append instead of += so you don't remove more than you add. Ros

[OE-core] Question about how to get package included in SDK

2018-03-27 Thread Måns Zigher
Hi, I have package that require protobuf and the compiler protoc. I have included the following DEPENDS += " protobuf protobuf-native" and RDEPENDS_${PN} += " protobuf" 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 th