浏览代码

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>
Mark Hatle 5 年之前
父节点
当前提交
f84aa7c191
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      meta/recipes-core/newlib/newlib.inc

+ 1 - 0
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}"