Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2024-01-22 19:11:35 +0300
committerCorinna Vinschen <corinna@vinschen.de>2024-01-23 11:49:02 +0300
commitd5c4edca81c87c784b4420cc194bea07436e0ab7 (patch)
tree39b3fdde00fb00e23665218f535ada215b7ced52 /libgloss/configure.ac
parent02572ff089dcefed1e2e25f420be975f1ee7340c (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/configure.ac')
-rw-r--r--libgloss/configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/libgloss/configure.ac b/libgloss/configure.ac
index 55f4261d1..79457cc79 100644
--- a/libgloss/configure.ac
+++ b/libgloss/configure.ac
@@ -207,8 +207,7 @@ case "${target}" in
config_or1k=true
;;
pru-*-*)
- AC_CONFIG_FILES([pru/Makefile])
- subdirs="$subdirs pru"
+ config_pru=true
;;
nios2-*-*)
config_nios2=true
@@ -222,8 +221,8 @@ m4_foreach_w([SUBDIR], [
aarch64 arc arm bfin csky d30v epiphany fr30 frv ft32 i386 i960 iq2000
libnosys lm32
m32r mcore microblaze mn10200 mn10300 moxie msp430
- nds32 nios2 or1k riscv rl78 rx sparc sparc_leon tic6x v850 visium wince
- xstormy16 xtensa
+ nds32 nios2 or1k pru riscv rl78 rx sparc sparc_leon tic6x v850 visium
+ wince xstormy16 xtensa
], [dnl
AM_CONDITIONAL([CONFIG_]m4_toupper(SUBDIR), [test x$config_]SUBDIR = xtrue)
])