summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2020-02-14 12:34:14 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-19 11:23:33 +0000
commitf495e1f771b60d2db11ffa351adf56ba664fe7e1 (patch)
tree327f43e8f07438d4ec51a2cfdae2621c882c675f /meta/recipes-core
parent71cdbf426e46e3ca1b5038f40e9f7ba958abc537 (diff)
downloadopenembedded-core-contrib-f495e1f771b60d2db11ffa351adf56ba664fe7e1.tar.gz
newlib: Move syscalls from newlib to libgloss
By passing --disabled-newlib-supplied-syscalls, newlib will disable the generation of builtin syscalls and move this to libgloss. (This also affects the generation of crt0.o.) libgloss SHOULD then provide the syscalls, crt0.o and other functions that are no longer part of newlib itself. This now means that you must link with both newlib and libgloss, whereas before newlib would run in many configurations by itself. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/newlib/newlib.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc
index d7ac8bff17..5edea8aba1 100644
--- a/meta/recipes-core/newlib/newlib.inc
+++ b/meta/recipes-core/newlib/newlib.inc
@@ -42,6 +42,7 @@ EXTRA_OECONF = " \
--with-gnu-as \
--with-gnu-ld \
--disable-multilib \
+ --disable-newlib-supplied-syscalls \
"
do_configure[cleandirs] = "${B}"