diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-03-01 02:03:17 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-03-01 20:29:07 -0500 |
commit | 74885d4fbd75d7d24598ae0633297cbe08844960 (patch) | |
tree | 6b2639bc7489b0ccc559868cb0082cf06d275bce /libgloss/configure | |
parent | 89f643e87b919aa3a20ef81429f5712a2879b6de (diff) | |
download | newlib-74885d4fbd75d7d24598ae0633297cbe08844960.zip newlib-74885d4fbd75d7d24598ae0633297cbe08844960.tar.gz newlib-74885d4fbd75d7d24598ae0633297cbe08844960.tar.bz2 |
libgloss: merge lm32 into top-level Makefile
Avoid a recursive make to speed things up a bit.
This drops the header install logic because the lm32/ subdir doesn't
actually have any header files to install.
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 b50c906..c504793 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -631,6 +631,8 @@ CFLAGS CC CONFIG_WINCE_FALSE CONFIG_WINCE_TRUE +CONFIG_LM32_FALSE +CONFIG_LM32_TRUE CONFIG_LIBNOSYS_FALSE CONFIG_LIBNOSYS_TRUE CONFIG_IQ2000_FALSE @@ -2848,9 +2850,7 @@ subdirs="$subdirs aarch64" subdirs="$subdirs ft32" ;; lm32*-*-*) - ac_config_files="$ac_config_files lm32/Makefile" - - subdirs="$subdirs lm32" + config_lm32=true ;; mcore-*-*) ac_config_files="$ac_config_files mcore/Makefile" @@ -2982,6 +2982,14 @@ else CONFIG_LIBNOSYS_FALSE= fi + if test x$config_lm32 = xtrue; then + CONFIG_LM32_TRUE= + CONFIG_LM32_FALSE='#' +else + CONFIG_LM32_TRUE='#' + CONFIG_LM32_FALSE= +fi + if test x$config_wince = xtrue; then CONFIG_WINCE_TRUE= CONFIG_WINCE_FALSE='#' @@ -5199,6 +5207,10 @@ if test -z "${CONFIG_LIBNOSYS_TRUE}" && test -z "${CONFIG_LIBNOSYS_FALSE}"; then as_fn_error $? "conditional \"CONFIG_LIBNOSYS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +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_WINCE_TRUE}" && test -z "${CONFIG_WINCE_FALSE}"; then as_fn_error $? "conditional \"CONFIG_WINCE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -5847,7 +5859,6 @@ do "fr30/Makefile") CONFIG_FILES="$CONFIG_FILES fr30/Makefile" ;; "frv/Makefile") CONFIG_FILES="$CONFIG_FILES frv/Makefile" ;; "ft32/Makefile") CONFIG_FILES="$CONFIG_FILES ft32/Makefile" ;; - "lm32/Makefile") CONFIG_FILES="$CONFIG_FILES lm32/Makefile" ;; "mcore/Makefile") CONFIG_FILES="$CONFIG_FILES mcore/Makefile" ;; "mep/Makefile") CONFIG_FILES="$CONFIG_FILES mep/Makefile" ;; "moxie/Makefile") CONFIG_FILES="$CONFIG_FILES moxie/Makefile" ;; |