All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tclibc-baremetal.inc: Remove BASEDEPENDS on compilerlibs
@ 2018-09-10 12:45 Nathan Rossi
  2018-09-10 16:14 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Rossi @ 2018-09-10 12:45 UTC (permalink / raw)
  To: openembedded-core

Without a libc the gcc-runtime provider of compilerlibs does not
compile. As such avoid the default dependence on the
virtual/${TARGET_PREFIX}compilerlibs provider.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
---
 meta/conf/distro/include/tclibc-baremetal.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/conf/distro/include/tclibc-baremetal.inc b/meta/conf/distro/include/tclibc-baremetal.inc
index b00917913f..e04f8c8812 100644
--- a/meta/conf/distro/include/tclibc-baremetal.inc
+++ b/meta/conf/distro/include/tclibc-baremetal.inc
@@ -21,6 +21,9 @@ LIBC_DEPENDENCIES = ""
 EXTRA_OECONF_pn-gcc-cross-${TARGET_ARCH}_append = " --without-headers"
 DEPENDS_remove_pn-meta-toolchain = "virtual/libc virtual/${TARGET_PREFIX}compilerlibs"
 
+# certain compiler libs cannot be used without libc, avoid the dependence on compilerlibs
+BASEDEPENDS_remove_class-target = "virtual/${TARGET_PREFIX}compilerlibs"
+
 TARGET_OS = "elf"
 TARGET_OS_arm = "eabi"
 
---
2.18.0


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

end of thread, other threads:[~2018-09-11  8:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-10 12:45 [PATCH] tclibc-baremetal.inc: Remove BASEDEPENDS on compilerlibs Nathan Rossi
2018-09-10 16:14 ` Khem Raj
2018-09-11  8:30   ` Nathan Rossi

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.