On 12 February 2016 at 06:10, Sridhar Pitchai <sridhar.pitc...@outlook.com>
wrote:

> 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.
>

That's because DEPENDS = "foo" actually means do_configure[depends] =
"foo".  This is so that packages can fetch/unpack/patch whilst their build
dependencies are being built.

Instead of adding a new task to run autogen which will run *before*
configure and therefore before your dependencies have been build, simply
do_configure_prepend() if the operations need to happen before cmake runs.

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to