Hi,I have a recipe, where It need protobuf-c-compiler (natvily) to auto generate files before it can be compiled. i have added protobuf-c-native in the DEPENDS list. but the compilation is failling at do_autogen, compiling the proto-c is not installed in staging_bindir_native.But if bitbake protobuf-c-native manually and then bitbake the recipe it is working fine. how to enforce protobuf-c-native is installed in the this recipe ? SECTION = "SWOS"PRIORITY = "optional"LICENSE = "CLOSED" PROVIDES = "swos-app" PR = "r0"DEPENDS = " protobuf-c-native libev protobuf-c protobuf zeromq " FILESEXTRAPATHS_prepend = "${THISDIR}:"SRC_URI = "file://${PV}/swos.tar.gz" inherit cmake pkgconfigS = "${WORKDIR}/swos" FILES_${PN} = "${libdir}/*.so"FILES_${PN} += "${bindir}/*" do_autogen () { ${STAGING_BINDIR_NATIVE}/protoc-c --proto_path=${S}/common/pbuf --c_out=${S}/common/pbuf/autogen-c ${S}/common/pbuf/*.proto} addtask do_autogen after do_configure before do_compile
thanks,Sridhar Pitchai
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto