[yocto] bitbake with cmake recipe

Lukas Bulwahn lukas.bulwahn at oss.bmw-carit.de
Fri Aug 23 00:01:45 PDT 2013


Everytime I build my system I get this error:

ERROR: Function failed: do_configure (see
/home/siguser/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/camera
capture-0.1-r0/temp/log.do_configure.1410 for further information)
ERROR: Logfile of failure stored in:
/home/siguser/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/camera
capture-0.1-r0/temp/log.do_configure.1410
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| CMake Error: The source directory
"/home/siguser/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/camer
acapture-0.1-r0/cameracapture-0.1" does not appear to contain
CMakeLists.txt.
| Specify --help for usage, or press the help button on the CMake GUI.
| ERROR: Function failed: do_configure (see
/home/siguser/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/camera
capture-0.1-r0/temp/log.do_configure.1410 for further information)
ERROR: Task 579
(/home/siguser/yocto/poky/meta-bebot/recipes-bebot/cameracapture/cameracaptu
re_0.1.bb, do_configure) failed with exit code '1'

I have no clue what I should write in my recipe file. Yocto doesn't have any
tutorial for this.

Can anyone give some hints where I am doing wrong or what should be included
in my recipe?



I believe you must set the S variable in your recipe.

Probably, you must set it to

S = "${WORKDIR}/git"

You just have to look where your sources are located under
"/home/siguser/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/camer
acapture-0.1-r0/cameracapture-0.1", and set this subdirectory:

S = "${WORKDIR}/subdirectory".


Lukas Bulwahn, BMW Car IT GmbH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130823/a4192cc8/attachment.html>


More information about the yocto mailing list