[OE-core] [PATCH] tclibc-baremetal.inc: Remove BASEDEPENDS on compilerlibs

Khem Raj raj.khem at gmail.com
Mon Sep 10 16:14:22 UTC 2018


On Mon, Sep 10, 2018 at 5:45 AM Nathan Rossi <nathan at nathanrossi.com> wrote:
>
> 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.
>

compilerlibs is compiler runtime, do we not have crtstuff and libgcc
for baremetal ?

> Signed-off-by: Nathan Rossi <nathan at 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
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list