]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/sdk/cases/autotools.py: fix host_sys value to handle multilib case
authorChen Qi <Qi.Chen@windriver.com>
Tue, 4 Nov 2025 03:33:29 +0000 (11:33 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Nov 2025 13:48:08 +0000 (13:48 +0000)
commite3dc2a0331b567170af5ddd809c007b7a9de80b1
tree44084e1c3c86076552a98422891f47b062db17ec
parentf34db103531b1ef5807245be14370bdbf3dd195d
oeqa/sdk/cases/autotools.py: fix host_sys value to handle multilib case

For now, testsdk always fails for multilib. This could be reproduced
by the following steps:

  1. Add to local.conf:
     OE_FRAGMENTS += "machine/qemux86-64 distro/poky"
     OE_FRAGMENTS += "core/yocto-autobuilder/multilib-x86-lib32"
     IMAGE_CLASSES += "testsdk"
  2. bitbake core-image-minimal -c populate_sdk && \
     bitbake core-image-minimal -c testsdk

This is because in case of multilib, HOST_SYS value is not correct.

So switch to use CONFIGURE_FLAGS environment variable to extract
the host_sys value.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/sdk/cases/autotools.py