]> code.ossystems Code Review - openembedded-core.git/commit
tclibc-newlib: Adds a new TCLIBC variant to build with newlib as C library
authorAlejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Fri, 27 Apr 2018 20:21:20 +0000 (13:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2018 07:54:19 +0000 (08:54 +0100)
commit9f0570351a7b0877aa50efff5fe9a9ef368cb38f
treedb6d5c3ad8d220202b45783edc6f371a2976d1fa
parent6f7ef4f6049fa8f2a8e17abfcf53ccbc22394088
tclibc-newlib: Adds a new TCLIBC variant to build with newlib as C library

This patch adds the posibility to build using TCLIBC=newlib.

It allows users to build baremetal applications with the use of a
C library.

Newlib is a lightweight C library meant to be used on embedded systems,
it is meant to be easily portable for new platforms and to provide
basic functionality on them, by design, it provides stubs for some of
these core functions declared as weak, so they can be built correctly
and then linked against some other library which provides specifics
about the platform being used if need be, libgloss takes care of these
in some cases, but it can also be extended, this patch also allows the
user to easily add other libraries to it by adding them to
NEWLIB_EXTENDED for this specific reason.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
meta/classes/cross-canadian.bbclass
meta/conf/distro/include/tclibc-newlib.inc [new file with mode: 0644]
meta/recipes-core/newlib/newlib_3.0.0.bb
meta/recipes-devtools/gcc/libgcc-common.inc