* Re: [OE-core] [PATCH] classes/cmake: use correct CMAKE_SYSTEM_NAME for baremetal arm target
[not found] <18C66A4825C2C24A.3010641@lists.openembedded.org>
@ 2026-07-28 9:54 ` Harald Brinkmann
0 siblings, 0 replies; only message in thread
From: Harald Brinkmann @ 2026-07-28 9:54 UTC (permalink / raw)
To: openembedded-core
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 <brinkmann@stulz-digital-solutions.com>
---
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),
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-28 9:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <18C66A4825C2C24A.3010641@lists.openembedded.org>
2026-07-28 9:54 ` [OE-core] [PATCH] classes/cmake: use correct CMAKE_SYSTEM_NAME for baremetal arm target Harald Brinkmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.