]> code.ossystems Code Review - openembedded-core.git/commit
newlib: Enable building libstdc++ for newlib based toolchains
authorAlejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Sun, 19 Jan 2020 03:01:59 +0000 (19:01 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Jan 2020 23:49:15 +0000 (23:49 +0000)
commit18af9ecef6e247519d8a1573e32208bb69cf81fe
tree06fe0f311518c7863f87e076a2e36a4b7b2c369e
parentf850931173fc210ed25706fd8fbfe0a310f99dfc
newlib: Enable building libstdc++ for newlib based toolchains

Some baremetal applications might require support from libstdc++
On newlib based toolchains, libstdc++ can be built as a static
library that applications can then link against it.

Pass libsdtc++-(static)dev to LIBC_DEPENDENCIES allowing the
library to be present for cross compilation as well as on
sdk builds.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/tclibc-newlib.inc
meta/recipes-devtools/gcc/gcc-runtime.inc