From: Harald Brinkmann Date: Tue, 28 Jul 2026 09:54:44 +0000 (+0200) Subject: classes/cmake: use correct CMAKE_SYSTEM_NAME for baremetal arm target X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;ds=sidebyside;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git classes/cmake: use correct CMAKE_SYSTEM_NAME for baremetal arm target tclibc-newlib.inc sets TARGET_OS:arm to 'eabi', which gets assigned to HOST_OS and is used here to determine CMAKE_SYSTEM_NAME. Signed-off-by: Harald Brinkmann Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/cmake.bbclass b/meta/classes-recipe/cmake.bbclass index 4f59966521..a1eec6b142 100644 --- a/meta/classes-recipe/cmake.bbclass +++ b/meta/classes-recipe/cmake.bbclass @@ -103,6 +103,8 @@ def map_host_os_to_system_name(host_os): return 'Windows' if host_os.startswith('linux'): return 'Linux' + if host_os == 'eabi': + return 'Generic' return host_os # CMake expects target architectures in the format of uname(2),