]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cmake.bbclass: Enhance to emit a native toolchain cmake file
authorKhem Raj <raj.khem@gmail.com>
Mon, 28 Apr 2025 21:26:16 +0000 (14:26 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 May 2025 13:20:18 +0000 (14:20 +0100)
commit79dc6a23234a34403157dec10d0cdd839ca76b3e
treefade4bec93fe7f745185426982867d68bc5ca016
parent045a53349a5c00b318feb7029470d3fb084b61c8
cmake.bbclass: Enhance to emit a native toolchain cmake file

Some components e.g. clang and its runtime needs the native toolchain
defines especially when doing nativesdk builds it uses
CROSS_TOOLCHAIN_FLAGS_NATIVE to pass native toolchain file, which is
then used to build native llvm tools needed during nativesdk builds

Moreover this would enable using OE built native toolchain e.g.
clang-native to build cmake based packages. e.g. libcxx and other llvm
runtime plus it can be used for build native packages which require clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/cmake.bbclass