]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toolchain-scripts: Add Meson settings for Yocto build SDK
authorTom Hochstein <tom.hochstein@oss.nxp.com>
Sat, 10 May 2025 08:43:51 +0000 (09:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 May 2025 09:52:52 +0000 (10:52 +0100)
The Meson settings for the standalone SDK also need to be available for
the Yocto build SDK, a.k.a. meta-ide-support.

(From OE-Core rev: 6287114bf10718fe49f7c1ed211f3d99f0933bc4)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/toolchain-scripts.bbclass

index b59a295abcc9a2fdc7deb469b254ee5ba07e3bf8..9e4320f87626cb8d0bc4f0b925a0e1bdd9287c7d 100644 (file)
@@ -99,6 +99,8 @@ toolchain_create_tree_env_script () {
        echo 'export OECORE_BASELIB="${baselib}"' >> $script
        echo 'export OECORE_TARGET_ARCH="${TARGET_ARCH}"' >>$script
        echo 'export OECORE_TARGET_OS="${TARGET_OS}"' >>$script
+       echo 'export OECORE_TARGET_BITS="${@siteinfo_with_prefix(d, 'bit-')}"' >>$script
+       echo 'export OECORE_TARGET_ENDIAN="${@siteinfo_with_prefix(d, 'endian-')}"' >>$script
 
        toolchain_shared_env_script