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:
authorMike Frysinger <vapier@gentoo.org>2023-12-27 08:54:13 +0300
committerMike Frysinger <vapier@gentoo.org>2024-01-20 04:26:52 +0300
commitaf075aed1d6fcd51405247654bc68365352ab367 (patch)
tree97fa761fcf2ecc13264288d6c9839ba8294e3c8b /libgloss/configure
parent4172a3c618bb8dc2311a63ecb5c56bcc21a30f22 (diff)
libgloss: merge m32r into top-level Makefile
Avoid a recursive make to speed things up a bit. A m32r-elf build shows installed objects & libs produce same code.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure19
1 files changed, 15 insertions, 4 deletions
diff --git a/libgloss/configure b/libgloss/configure
index 245558edf..5aa46f002 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -672,6 +672,8 @@ CONFIG_MN10200_FALSE
CONFIG_MN10200_TRUE
CONFIG_MCORE_FALSE
CONFIG_MCORE_TRUE
+CONFIG_M32R_FALSE
+CONFIG_M32R_TRUE
CONFIG_LM32_FALSE
CONFIG_LM32_TRUE
CONFIG_LIBNOSYS_FALSE
@@ -2811,9 +2813,7 @@ case "${target}" in
config_i386=true
;;
m32r-*-*)
- ac_config_files="$ac_config_files m32r/Makefile"
-
- subdirs="$subdirs m32r"
+ config_m32r=true
;;
m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
ac_config_files="$ac_config_files m68hc11/Makefile"
@@ -3096,6 +3096,14 @@ else
CONFIG_LM32_FALSE=
fi
+ if test x$config_m32r = xtrue; then
+ CONFIG_M32R_TRUE=
+ CONFIG_M32R_FALSE='#'
+else
+ CONFIG_M32R_TRUE='#'
+ CONFIG_M32R_FALSE=
+fi
+
if test x$config_mcore = xtrue; then
CONFIG_MCORE_TRUE=
CONFIG_MCORE_FALSE='#'
@@ -5723,6 +5731,10 @@ if test -z "${CONFIG_LM32_TRUE}" && test -z "${CONFIG_LM32_FALSE}"; then
as_fn_error $? "conditional \"CONFIG_LM32\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${CONFIG_M32R_TRUE}" && test -z "${CONFIG_M32R_FALSE}"; then
+ as_fn_error $? "conditional \"CONFIG_M32R\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${CONFIG_MCORE_TRUE}" && test -z "${CONFIG_MCORE_FALSE}"; then
as_fn_error $? "conditional \"CONFIG_MCORE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -6428,7 +6440,6 @@ do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"epiphany/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany/Makefile" ;;
- "m32r/Makefile") CONFIG_FILES="$CONFIG_FILES m32r/Makefile" ;;
"m68hc11/Makefile") CONFIG_FILES="$CONFIG_FILES m68hc11/Makefile" ;;
"m68k/Makefile") CONFIG_FILES="$CONFIG_FILES m68k/Makefile" ;;
"pa/Makefile") CONFIG_FILES="$CONFIG_FILES pa/Makefile" ;;