[yocto] Enable only 32 bit packages in a packagegroup for 64 bit machine

Gaurav Vohra gauravvohra89 at gmail.com
Thu Jul 27 01:55:51 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"

Please suggest, how i can i get to only build 32 bit package in packagegroup.

Thanks gaurav



More information about the yocto mailing list