From 96bc16f6b27e9183c293c1a77351ec71f71bc32f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 13 Feb 2022 03:11:01 -0500 Subject: newlib: libc: merge build up a directory 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 winsup code has been pulling the internal newlib ssp library out, but that doesn't exist anymore, so change that to pull the objects. --- newlib/doc/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/doc') diff --git a/newlib/doc/Makefile.inc b/newlib/doc/Makefile.inc index de1dd1f2b..630681c88 100644 --- a/newlib/doc/Makefile.inc +++ b/newlib/doc/Makefile.inc @@ -28,6 +28,7 @@ SUFFIXES += .def CHEW = $(MKDOC) -f $(srcdir)/%D%/doc.str .c.def: + $(AM_V_at)$(MKDIR_P) $(@D) $(AM_V_GEN)$(CHEW) < $< > $*.def || ( rm $*.def && false ) SUFFIXES += .xml @@ -35,6 +36,7 @@ SUFFIXES += .xml DOCBOOK_CHEW = ${top_srcdir}/%D%/makedocbook.py .c.xml: + $(AM_V_at)$(MKDIR_P) $(@D) $(AM_V_GEN)$(DOCBOOK_CHEW) < $< > $*.xml || ( rm $*.xml && false ) # We can't use .tex.xml rule here as it'll conflict with .c.xml when the chapter -- cgit v1.2.3