[PATCH v4 1/2] libgloss: merge pru into top-level Makefile
Corinna Vinschen
vinschen@redhat.com
Tue Jan 23 08:54:07 GMT 2024
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 <dimitar@dinux.eu>
> ---
> 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
More information about the Newlib
mailing list