diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-27 20:45:25 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-19 22:23:47 -0500 |
commit | 22257fc68191c5a95373191798c59390ebf7388b (patch) | |
tree | e536dd22c1c9bbfea5707f70204d12cf7165f7f8 /libgloss/configure | |
parent | bf37122a728d7ac78b06cc078816be062cdc7ad4 (diff) | |
download | newlib-22257fc68191c5a95373191798c59390ebf7388b.zip newlib-22257fc68191c5a95373191798c59390ebf7388b.tar.gz newlib-22257fc68191c5a95373191798c59390ebf7388b.tar.bz2 |
libgloss: merge epiphany into top-level Makefile
Avoid a recursive make to speed things up a bit.
A epiphany-elf build shows installed objects & libs produce same code.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-x | libgloss/configure | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/libgloss/configure b/libgloss/configure index 970a4cb..cee8a1b 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -688,6 +688,8 @@ CONFIG_I386_FALSE CONFIG_I386_TRUE CONFIG_FRV_FALSE CONFIG_FRV_TRUE +CONFIG_EPIPHANY_FALSE +CONFIG_EPIPHANY_TRUE CONFIG_D30V_FALSE CONFIG_D30V_TRUE CONFIG_CSKY_FALSE @@ -2806,10 +2808,7 @@ case "${target}" in config_csky=true ;; epiphany-*-*) - ac_config_files="$ac_config_files epiphany/Makefile" - - subdirs="$subdirs epiphany" - config_testsuite=true + config_epiphany=true ;; i[3456]86-*-elf* | i[3456]86-*-coff*) config_i386=true @@ -3048,6 +3047,14 @@ else CONFIG_D30V_FALSE= fi + if test x$config_epiphany = xtrue; then + CONFIG_EPIPHANY_TRUE= + CONFIG_EPIPHANY_FALSE='#' +else + CONFIG_EPIPHANY_TRUE='#' + CONFIG_EPIPHANY_FALSE= +fi + if test x$config_frv = xtrue; then CONFIG_FRV_TRUE= CONFIG_FRV_FALSE='#' @@ -5715,6 +5722,10 @@ 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_EPIPHANY_TRUE}" && test -z "${CONFIG_EPIPHANY_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_EPIPHANY\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${CONFIG_FRV_TRUE}" && test -z "${CONFIG_FRV_FALSE}"; then as_fn_error $? "conditional \"CONFIG_FRV\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -6451,7 +6462,6 @@ for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "epiphany/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany/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" ;; |