diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2024-01-22 19:11:35 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-01-23 11:49:02 +0300 |
commit | d5c4edca81c87c784b4420cc194bea07436e0ab7 (patch) | |
tree | 39b3fdde00fb00e23665218f535ada215b7ced52 /libgloss/Makefile.am | |
parent | 02572ff089dcefed1e2e25f420be975f1ee7340c (diff) |
libgloss: merge pru into top-level Makefile
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>
Diffstat (limited to 'libgloss/Makefile.am')
-rw-r--r-- | libgloss/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am index 333ff846a..084d433d3 100644 --- a/libgloss/Makefile.am +++ b/libgloss/Makefile.am @@ -155,6 +155,9 @@ endif if CONFIG_OR1K include or1k/Makefile.inc endif +if CONFIG_PRU +include pru/Makefile.inc +endif if CONFIG_RISCV include riscv/Makefile.inc endif |