[yocto] Force recipe(non library) to build 32bit packages(only) for 64bit machine

Burton, Ross ross.burton at intel.com
Wed Oct 24 13:10:44 PDT 2018


On Wed, 24 Oct 2018 at 09:11, Andrey Strunin <a.strunin13 at gmail.com> wrote:
> My machine configuration is Mips64 and I use MULTILIB. It works ok, but
> there is a question...
> Is it possible to build a recipe(non library) only for 32bit?
> I know about lib32-${libname} notation, but what about non-libraries?
> The sources I have to compile aren't build on 64bit at all (or build but
> doesn't work properly)
> So, I have to build ONLY 32 bit version.

The notation isn't lib32-[library name] but lib32-[recipe name], so
just prefix any recipe with lib32- and it will built for 32-bit
(assuming that is how you configured multilib, of course).

Ross


More information about the yocto mailing list