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 <[email protected]> --- meta/classes-recipe/cmake.bbclass | 2 ++ 1 file changed, 2 insertions(+) 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),
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#242176): https://lists.openembedded.org/g/openembedded-core/message/242176 Mute This Topic: https://lists.openembedded.org/mt/120481430/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
