Re: [PATCH v4 1/2] libgloss: merge pru into top-level Makefile
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Jan 22 18:11, Dimitar Dimitrov wrote: > Avoid a recursive make to speed things up a bit. This change was > inspired by the recent similar patch for c6x: > https://sourceware.org/pipermail/newlib/2023/020869.html > > While at it, fork crt0-minrt.S into a separate source file instead of > relying on a predefined macro to generate two different object files. > This improves clarity, simplifies the build rules, and would allow > further optimization in crt0-minrt.S to be implemented more cleanly. > > Signed-off-by: Dimitar Dimitrov <[email protected]> > --- > Changes since v3: > - Rebased. > > Changes since v2: > - Rearrange Makefile.inc code chunks. > - Whitespace fix. > > Changes since v1: > - Retained copyright in pru/Makefile.inc. > - Addec crt0*.s to libobjs_a_SOURCES. > - Rebased. > > libgloss/Makefile.am | 3 + > libgloss/configure.ac | 7 +- > libgloss/pru/Makefile.in | 145 -------------------------------------- > libgloss/pru/Makefile.inc | 48 +++++++++++++ > libgloss/pru/crt0-minrt.S | 59 ++++++++++++++++ > libgloss/pru/crt0.S | 6 -- > 6 files changed, 113 insertions(+), 155 deletions(-) > delete mode 100644 libgloss/pru/Makefile.in > create mode 100644 libgloss/pru/Makefile.inc > create mode 100644 libgloss/pru/crt0-minrt.S Series pushed. Thanks, Corinna