[PATCH] newlib: libc: merge build up a directory

Corinna Vinschen vinschen@redhat.com
Wed Mar 9 08:07:50 GMT 2022


Hi Mike,

On Mar  1 20:39, Mike Frysinger wrote:
> Convert all the libc/ subdir makes into the top-level Makefile.  This
> allows us to build all of libc from the top Makefile without using any
> recursive make calls.  This is faster and avoids the funky lib.a logic
> where we unpack subdir archives to repack into a single libc.a.  The
> machine override logic is maintained though by way of Makefile include
> ordering, and source file accumulation in libc_a_SOURCES.
> 
> There's a few dummy.c files that are no longer necessary since we aren't
> doing the lib.a accumulating, so punt them.

The patch doesn't apply cleanly on current master.  Can you please have
a look?

$ git am x.patch
Applying: newlib: libc: merge build up a directory
error: patch failed: newlib/libc/machine/xstormy16/Makefile.am:1
error: newlib/libc/machine/xstormy16/Makefile.am: patch does not apply
error: patch failed: newlib/libc/stdlib/Makefile.am:1
error: newlib/libc/stdlib/Makefile.am: patch does not apply
Patch failed at 0001 newlib: libc: merge build up a directory
[...]


Thanks,
Corinna



More information about the Newlib mailing list