[yocto] Build only 32 bit packages using multilib in a packagegroup for 64 bit machine

Gaurav Vohra gauravvohra89 at gmail.com
Wed Jul 26 23:45:37 PDT 2017


Hello,

I need to use multilib feature in yocto to build some applications which
are part of a packagegroup recipe as only 32 bit.

I can use command to  create 32 bit packages from this packagegroup which
works,.

# bitbake lib32-packagegroup-name.bb

But the packages in this packagegroup are still building as 64 bit when i
am trying to build image

bitbake core-sato-image.bb

Configuration done

in local.conf :

MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

In image recipe replaced

IMAGE_INSTALL += "packagegroup-name"

to

IMAGE_INSTALL += "lib32-packagegroup-name"
Are these changes sufficient ?

Thanks gaurav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170727/19cd78df/attachment.html>


More information about the yocto mailing list