[yocto] RPM Installation to Host Sysroot

Trevor Woerner twoerner at gmail.com
Sat Jan 24 06:57:29 PST 2015


On 01/23/15 14:24, Ma O-Nigiri wrote:
> I am on yocto 1.3.2 and need to add a few libraries to my sysroot for
> cross compilation.
>
> I have built the libsigc++-2.0 library with bitbake and have the
> resulting RPM. What is the appropriate method for installing the rpm
> to /opt/poky/1.3/sysroots ?

If you add this package to your image, i.e.:

    IMAGE_INSTALL_append = " libsigc++-2.0"

and re-build your tools, i.e.:

    $ bitbake <your image> -c populate_sdk

then your resulting sysroot and toolchain will include all the magic
required to develop apps against this library.



More information about the yocto mailing list