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-31 09:51:47 +0300
committerMike Frysinger <vapier@gentoo.org>2024-01-20 06:23:48 +0300
commit2f0cd375f325a15b599fe1d71a811a3edc186d4d (patch)
tree2284f18231de8ed7e5333e1a2641f78ca490c5bf /libgloss/configure
parentfecb0e5e78ab0b69c4f44af8a803d5ed6387997c (diff)
libgloss: merge microblaze into top-level Makefile
Avoid a recursive make to speed things up a bit. A microblaze-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 2aad99d39..c58633244 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -686,6 +686,8 @@ CONFIG_MN10300_FALSE
CONFIG_MN10300_TRUE
CONFIG_MN10200_FALSE
CONFIG_MN10200_TRUE
+CONFIG_MICROBLAZE_FALSE
+CONFIG_MICROBLAZE_TRUE
CONFIG_MCORE_FALSE
CONFIG_MCORE_TRUE
CONFIG_M32R_FALSE
@@ -2930,9 +2932,7 @@ case "${target}" in
config_moxie=true
;;
microblaze*-*-*)
- ac_config_files="$ac_config_files microblaze/Makefile"
-
- subdirs="$subdirs microblaze"
+ config_microblaze=true
;;
mt-*-*)
ac_config_files="$ac_config_files mt/Makefile"
@@ -3141,6 +3141,14 @@ else
CONFIG_MCORE_FALSE=
fi
+ if test x$config_microblaze = xtrue; then
+ CONFIG_MICROBLAZE_TRUE=
+ CONFIG_MICROBLAZE_FALSE='#'
+else
+ CONFIG_MICROBLAZE_TRUE='#'
+ CONFIG_MICROBLAZE_FALSE=
+fi
+
if test x$config_mn10200 = xtrue; then
CONFIG_MN10200_TRUE=
CONFIG_MN10200_FALSE='#'
@@ -5845,6 +5853,10 @@ 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
fi
+if test -z "${CONFIG_MICROBLAZE_TRUE}" && test -z "${CONFIG_MICROBLAZE_FALSE}"; then
+ as_fn_error $? "conditional \"CONFIG_MICROBLAZE\" 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
@@ -6586,7 +6598,6 @@ do
"cris/Makefile") CONFIG_FILES="$CONFIG_FILES cris/Makefile" ;;
"crx/Makefile") CONFIG_FILES="$CONFIG_FILES crx/Makefile" ;;
"mep/Makefile") CONFIG_FILES="$CONFIG_FILES mep/Makefile" ;;
- "microblaze/Makefile") CONFIG_FILES="$CONFIG_FILES microblaze/Makefile" ;;
"mt/Makefile") CONFIG_FILES="$CONFIG_FILES mt/Makefile" ;;
"xc16x/Makefile") CONFIG_FILES="$CONFIG_FILES xc16x/Makefile" ;;
"m32c/Makefile") CONFIG_FILES="$CONFIG_FILES m32c/Makefile" ;;