[bitbake-devel] changing content of configuration parameters of Cmakelist file from .bb file

Burton, Ross ross.burton at intel.com
Wed Oct 12 15:23:40 UTC 2016


On 12 October 2016 at 12:33, nitish jha <nitishjha16 at gmail.com> wrote:

> do_configure_append() {
>     cmake -INSTALL_LIB_DIR=/usr/lib64
> }
>

http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#ref-classes-cmake
covers this.

Use EXTRA_OECMAKE to pass your extra options to cmake, i.e.

EXTRA_OECMAKE = "-DINSTALL_LIB_DIR=${libdir}"

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20161012/a0891de5/attachment-0002.html>


More information about the bitbake-devel mailing list