[meta-freescale] compilation issue related to a custom recipe

Daiane Angolini daiane.list at gmail.com
Wed Apr 2 05:55:13 PDT 2014


On Wed, Apr 2, 2014 at 6:36 AM, aymen irt <aymen.irt at gmail.com> wrote:
> Hi all,
>
> I have followed this tutorial
> (https://wiki.yoctoproject.org/wiki/How_do_I#Q:_How_do_I_put_my_recipe_into_Yocto.3F)
> in order to create my own recipe for the helloworld example (from section
> 5.3.1 of Yocto dev-manual:
> http://www.yoctoproject.org/docs/1.4.2/dev-manual/dev-manual.html#usingpoky-extend-addpkg-singlec).
> I have configured the following layers and recipe:
> /poky/meta-test/conf/layer.conf
> /poky/meta-test/recipes-test/helloworld/helloworld.bb
> /poky/meta-test/recipes-test/helloworld/code/helloworld.c
> I have also added my meta-test layer to conf/bblayers.conf and I have
> modified my conf/local.conf to add IMAGE_INSTALL_append = " helloworld". I
> am creating a core-image-minimal for a qemuarm target.
>
> My problem is that I get the following error "Function failed: do_rootfs"
> after running bitbake core-image-minimal. When I check the log file, I find
> this error: "E: Package 'helloworld' has no installation candidate". In
> addition, in my build directory build/tmp/deploy/deb/armv5te/, I find only
> the helloworld-dbg.deb and helloworld-dev.deb. The log_do.compile (located
> in build/tmp/work/armv5te-poky-linux-gnueabi/helloworld/1.0-r0/temp)
> indicates "NOTE: nothing to compile".

How are you building your helloworld.c?

It looks like your .c is not being compiled.


Daiane
>
> I have checked that I am not getting the same errors posted in these
> previous discussions:
> https://lists.yoctoproject.org/pipermail/yocto/2012-December/010989.html
> https://lists.yoctoproject.org/pipermail/meta-freescale/2013-September/004523.html
>
> I would be grateful for any hint about this,
>
> Best regards,
> Aymen
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


More information about the meta-freescale mailing list