From: Harald Brinkmann <brinkmann@stulz-digital-solutions.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] classes/cmake: use correct CMAKE_SYSTEM_NAME for baremetal arm target
Date: Tue, 28 Jul 2026 11:54:44 +0200 [thread overview]
Message-ID: <amh8ZDouDl5vzykd@rocket> (raw)
In-Reply-To: <18C66A4825C2C24A.3010641@lists.openembedded.org>
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),
parent reply other threads:[~2026-07-28 9:54 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <18C66A4825C2C24A.3010641@lists.openembedded.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=amh8ZDouDl5vzykd@rocket \
--to=brinkmann@stulz-digital-solutions.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.