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

aymen irt aymen.irt at gmail.com
Wed Apr 2 02:36:58 PDT 2014


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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140402/c424045e/attachment.html>


More information about the meta-freescale mailing list