On 21 May 2013 11:35, Paul Barker <p...@paulbarker.me.uk> wrote: > On 21 May 2013 11:12, Zafrullah Syed <zafrullahme...@gmail.com> wrote: >> I sourced oe-init-build-env and ran bitbake helloworld from build directory. >> Then i get this error. previously, i ran bitbake core-image-minimal and was >> successful. No idea where i am doing wrong? > > Ok, I guess that it's bitbake itself that throws the error then? Could > you try adding 'inherit externalsrc' to the top of your recipe, that > class is there to prevent do_fetch, do_unpack etc being called which > may be failing as there isn't a SRC_URI set. >
Ah no, there is a SRC_URI. But you don't really need it and it's probably looking in the wrong place for hello.c. The externalsrc class is designed for this case. See https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/externalsrc.bbclass or the equivalent file in your local clone of poky. -- Paul Barker Email: p...@paulbarker.me.uk http://www.paulbarker.me.uk _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto