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:24:15 +0000
commitf84aa7c191e5c646c881cb6f5f9fc9dd466346ad (patch)
treee83e75ff613b8e9ed593faaa9a42f10ff25daaf3 /meta/recipes-core
parentcf8169a5f74d6e148e7fa6ee703c0b90103b90c8 (diff)
downloadpoky-f84aa7c191e5c646c881cb6f5f9fc9dd466346ad.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. (From OE-Core rev: f495e1f771b60d2db11ffa351adf56ba664fe7e1) 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 = " \
42 --with-gnu-as \ 42 --with-gnu-as \
43 --with-gnu-ld \ 43 --with-gnu-ld \
44 --disable-multilib \ 44 --disable-multilib \
45 --disable-newlib-supplied-syscalls \
45 " 46 "
46 47
47do_configure[cleandirs] = "${B}" 48do_configure[cleandirs] = "${B}"