Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Revert "tclibc-baremetal.inc: fix gcc-cross EXTRA_OECONF"
@ 2026-10-06 21:42 Denys Dmytriyenko
  2026-10-07  6:01 ` [OE-core] " Jörg Vehlow
  2026-10-07 14:30 ` Paul Barker
  0 siblings, 2 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2026-10-06 21:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Denys Dmytriyenko

From: Denys Dmytriyenko <denys@konsulko.com>

While this change has good intentions, unfortunaly, it completely
breaks baremetal setup (at least for ARM arch).

The line this change removes seems to mask an underlying issue,
but until that issue is fully understood and resolved, let's
revert it and restore the working baremetal behavior.

For more details please see the following discussion:
https://lists.openembedded.org/g/openembedded-core/topic/121486589

This reverts commit 020d5f018616bc48eae3a23d5498dec3c78a1386.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 meta/conf/distro/include/tclibc-baremetal.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/tclibc-baremetal.inc b/meta/conf/distro/include/tclibc-baremetal.inc
index 6043cb6654..abea5a7162 100644
--- a/meta/conf/distro/include/tclibc-baremetal.inc
+++ b/meta/conf/distro/include/tclibc-baremetal.inc
@@ -18,6 +18,7 @@ USE_NLS ?= "no"
 IMAGE_LINGUAS = ""
 LIBC_DEPENDENCIES = ""
 
+EXTRA_OECONF:pn-gcc-cross-${TARGET_ARCH}:append = " --without-headers"
 DEPENDS:remove:pn-meta-toolchain = "virtual/libc virtual/compilerlibs"
 
 # certain compiler libs cannot be used without libc, avoid the dependence on compilerlibs
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-07 20:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-06 21:42 [PATCH] Revert "tclibc-baremetal.inc: fix gcc-cross EXTRA_OECONF" Denys Dmytriyenko
2026-10-07  6:01 ` [OE-core] " Jörg Vehlow
2026-10-07 14:30 ` Paul Barker
2026-10-07 20:13   ` [OE-core] " Ryan Eatmon
2026-10-07 20:14   ` Denys Dmytriyenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox