From f84aa7c191e5c646c881cb6f5f9fc9dd466346ad Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 14 Feb 2020 12:34:14 -0600 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-core/newlib/newlib.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-core/newlib') 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}" -- cgit v1.2.3-54-g00ecf