]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cmake: remove CMAKE_SYSTEM_* from the native toolchain
authorRoss Burton <ross.burton@arm.com>
Mon, 21 Jul 2025 13:24:22 +0000 (14:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Jul 2025 21:59:39 +0000 (22:59 +0100)
commit0ea50cba64b5004722051c0ece900443dc4ca929
treef0bc46d13936c1d01d1fbf2717b2bf3a02e2b462
parentaba2d949818b032222dbaed98e38cd29e3c992b6
cmake: remove CMAKE_SYSTEM_* from the native toolchain

If these variables are set explictly then CMake assumes that it is
cross-compiling[1]. We don't need to set them as the default values as
detected by CMake are correct for native.

[1] https://cmake.org/cmake/help/latest/variable/CMAKE_CROSSCOMPILING.html

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/cmake.bbclass