How to get initramfs libraries for 32 and 64 bit using yocto
I am using yocto to create initramfs and it creates initramfs and puts libraries in lib directory.
I want to generate libraries for 32 and 64 bit using yocto. In machine.conf I have enabled MACHINE_FEATURES + = "x86_64"
How do I create binaries for 32 and 64 bit using yocto in initramfs
+1
anikhan
source
to share
1 answer
You need to configure the multilib build . It basically boils down to something like this in your local.conf:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
And then you use lib32-${PN}
for 32-bit package options in images, for example, let's say you want to include the 32-bit dropbear package:
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} lib32-dropbear"
+2
Roman Khimov
source
to share