Skip to contentSkip to conversation

populate_sdk mutlilib and sysroots

DISCUSSION Manish Jaggi 1 participant 1 message Jul 28, 2016

lore
Share & tools
lore
#0 lore raw

On krogoth branch of poky trying to create a multilib sdk (aarch64 aarch64_ilp32) Using the below local.conf

CONF_VERSION = "1"
MACHINE = "TestMachine" CORE_IMAGE_EXTRA_INSTALL_append += " openssl" PREFERRED_VERSION_linux-thunderx-81xx = "4.4.3" BB_NUMBER_THREADS="32" PREFERRED_PROVIDER_virtual/kernel = "linux-thunderx-81xx" require conf/multilib.conf
MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "aarch64_ilp32"

after bitbake core-image-minimal
and bitbake -c populate_sdk core-image-minimal

The sysroot directory in tmp/sysroots has sysroots for both 64 and ilp32 TestMachine
lib32-TestMachine

But when installed the sdk using populate sdk generated script, sysroots is only for aarch64 and not for aarch64_ilp32

ls ~/sdk_install_poky/sysroots/
aarch64-poky-linux x86_64-pokysdk-linux

What could be missing here?

FYI The generated rootfs has multi libs, libssl for 32bit and 64bit are present.