From: Denys Dmytriyenko <[email protected]>

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 <[email protected]>
---
 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247356): 
https://lists.openembedded.org/g/openembedded-core/message/247356
Mute This Topic: https://lists.openembedded.org/mt/121618723/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to