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 07:26:40 +0300
committerMike Frysinger <vapier@gentoo.org>2024-01-20 04:26:52 +0300
commit41de4b00f762a05f5e782fb8f8bd9c788456b108 (patch)
tree9bee5ed54b95411c47f8cdf4f77f37dfc2c18ce0 /libgloss/configure
parent25f6d8772ec7f6305d59224d2043dd312e2f99e5 (diff)
libgloss: merge mn10200 into top-level Makefile
Avoid a recursive make to speed things up a bit. Untested, but follows the same pattern as mn10300, but simpler.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure20
1 files changed, 15 insertions, 5 deletions
diff --git a/libgloss/configure b/libgloss/configure
index 777200372..bf527c1ca 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -657,6 +657,8 @@ CONFIG_MOXIE_FALSE
CONFIG_MOXIE_TRUE
CONFIG_MN10300_FALSE
CONFIG_MN10300_TRUE
+CONFIG_MN10200_FALSE
+CONFIG_MN10200_TRUE
CONFIG_LM32_FALSE
CONFIG_LM32_TRUE
CONFIG_LIBNOSYS_FALSE
@@ -2852,10 +2854,7 @@ case "${target}" in
host_makefile_frag=${srcdir}/config/ppc.mh
;;
mn10200-*-*)
- ac_config_files="$ac_config_files mn10200/Makefile"
-
- subdirs="$subdirs mn10200"
- target_makefile_frag=${srcdir}/config/mn10200.mt
+ config_mn10200=true
;;
mn10300-*-*)
config_mn10300=true
@@ -3094,6 +3093,14 @@ else
CONFIG_LM32_FALSE=
fi
+ if test x$config_mn10200 = xtrue; then
+ CONFIG_MN10200_TRUE=
+ CONFIG_MN10200_FALSE='#'
+else
+ CONFIG_MN10200_TRUE='#'
+ CONFIG_MN10200_FALSE=
+fi
+
if test x$config_mn10300 = xtrue; then
CONFIG_MN10300_TRUE=
CONFIG_MN10300_FALSE='#'
@@ -5657,6 +5664,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_MN10200_TRUE}" && test -z "${CONFIG_MN10200_FALSE}"; then
+ as_fn_error $? "conditional \"CONFIG_MN10200\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${CONFIG_MN10300_TRUE}" && test -z "${CONFIG_MN10300_FALSE}"; then
as_fn_error $? "conditional \"CONFIG_MN10300\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -6339,7 +6350,6 @@ do
"sparc/Makefile") CONFIG_FILES="$CONFIG_FILES sparc/Makefile" ;;
"mips/Makefile") CONFIG_FILES="$CONFIG_FILES mips/Makefile" ;;
"rs6000/Makefile") CONFIG_FILES="$CONFIG_FILES rs6000/Makefile" ;;
- "mn10200/Makefile") CONFIG_FILES="$CONFIG_FILES mn10200/Makefile" ;;
"cr16/Makefile") CONFIG_FILES="$CONFIG_FILES cr16/Makefile" ;;
"cris/Makefile") CONFIG_FILES="$CONFIG_FILES cris/Makefile" ;;
"crx/Makefile") CONFIG_FILES="$CONFIG_FILES crx/Makefile" ;;