summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2018-09-10 12:45:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-11 09:05:29 +0100
commit61eead0cdd1f44d8c850f8e4c7389ef444bcd591 (patch)
tree722cd452db5f46f487cf94ea18282a327d130ffe /meta
parentdfe434b793c156a87b5ead5cb85fe60d920d69d3 (diff)
downloadopenembedded-core-61eead0cdd1f44d8c850f8e4c7389ef444bcd591.tar.gz
openembedded-core-61eead0cdd1f44d8c850f8e4c7389ef444bcd591.tar.bz2
openembedded-core-61eead0cdd1f44d8c850f8e4c7389ef444bcd591.zip
tclibc-baremetal.inc: Remove BASEDEPENDS on compilerlibs
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> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/tclibc-baremetal.inc3
1 files changed, 3 insertions, 0 deletions
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"