diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-12-14 18:58:01 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-11 08:42:19 -0500 |
commit | 0e1c0a02cfeafaeb88be025c6e99538337d67d8c (patch) | |
tree | a8c883c5f3624e445b402a9ac66a6198355b7d40 /libgloss/configure | |
parent | 5401db924f565a72939d2b7cb66d6d51203fefb7 (diff) | |
download | newlib-0e1c0a02cfeafaeb88be025c6e99538337d67d8c.zip newlib-0e1c0a02cfeafaeb88be025c6e99538337d67d8c.tar.gz newlib-0e1c0a02cfeafaeb88be025c6e99538337d67d8c.tar.bz2 |
libgloss: merge d30v into top-level Makefile
Avoid a recursive make to speed things up a bit.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-x | libgloss/configure | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/libgloss/configure b/libgloss/configure index 4493468..84d4c5e 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -640,6 +640,8 @@ CONFIG_LIBNOSYS_FALSE CONFIG_LIBNOSYS_TRUE CONFIG_IQ2000_FALSE CONFIG_IQ2000_TRUE +CONFIG_D30V_FALSE +CONFIG_D30V_TRUE CONFIG_BFIN_FALSE CONFIG_BFIN_TRUE CONFIG_ARM_FALSE @@ -2855,9 +2857,7 @@ case "${target}" in subdirs="$subdirs crx" ;; d30v-*-*) - ac_config_files="$ac_config_files d30v/Makefile" - - subdirs="$subdirs d30v" + config_d30v=true ;; fr30-*-*) ac_config_files="$ac_config_files fr30/Makefile" @@ -3015,6 +3015,14 @@ else CONFIG_BFIN_FALSE= fi + if test x$config_d30v = xtrue; then + CONFIG_D30V_TRUE= + CONFIG_D30V_FALSE='#' +else + CONFIG_D30V_TRUE='#' + CONFIG_D30V_FALSE= +fi + if test x$config_iq2000 = xtrue; then CONFIG_IQ2000_TRUE= CONFIG_IQ2000_FALSE='#' @@ -5291,6 +5299,10 @@ if test -z "${CONFIG_BFIN_TRUE}" && test -z "${CONFIG_BFIN_FALSE}"; then as_fn_error $? "conditional \"CONFIG_BFIN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${CONFIG_D30V_TRUE}" && test -z "${CONFIG_D30V_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_D30V\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${CONFIG_IQ2000_TRUE}" && test -z "${CONFIG_IQ2000_FALSE}"; then as_fn_error $? "conditional \"CONFIG_IQ2000\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -5949,7 +5961,6 @@ do "cr16/Makefile") CONFIG_FILES="$CONFIG_FILES cr16/Makefile" ;; "cris/Makefile") CONFIG_FILES="$CONFIG_FILES cris/Makefile" ;; "crx/Makefile") CONFIG_FILES="$CONFIG_FILES crx/Makefile" ;; - "d30v/Makefile") CONFIG_FILES="$CONFIG_FILES d30v/Makefile" ;; "fr30/Makefile") CONFIG_FILES="$CONFIG_FILES fr30/Makefile" ;; "frv/Makefile") CONFIG_FILES="$CONFIG_FILES frv/Makefile" ;; "ft32/Makefile") CONFIG_FILES="$CONFIG_FILES ft32/Makefile" ;; |