diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-29 08:11:38 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-20 06:23:47 +0300 |
commit | ad17cf6d67f06a841a87d1a117b5c8b1883ac195 (patch) | |
tree | 750d3368d7c9cb86c7b4f5fbf2b10507a526208b /libgloss/configure | |
parent | 8c5bb84b6b505be3dbcea97ed2c879d2df81249f (diff) |
libgloss: merge fr30 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A fr30-elf build shows installed objects & libs produce same code.
A lot of code seems like it hasn't been migrated, but that's because
it's all disabled/unused (i.e. all the test & mon code). It looks
like a lot of copy & paste holdovers from the original port.
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 089d5471b..cc76b4557 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -690,6 +690,8 @@ CONFIG_I386_FALSE CONFIG_I386_TRUE CONFIG_FRV_FALSE CONFIG_FRV_TRUE +CONFIG_FR30_FALSE +CONFIG_FR30_TRUE CONFIG_EPIPHANY_FALSE CONFIG_EPIPHANY_TRUE CONFIG_D30V_FALSE @@ -2895,9 +2897,7 @@ case "${target}" in config_d30v=true ;; fr30-*-*) - ac_config_files="$ac_config_files fr30/Makefile" - - subdirs="$subdirs fr30" + config_fr30=true ;; frv*-*-*) config_frv=true @@ -3055,6 +3055,14 @@ else CONFIG_EPIPHANY_FALSE= fi + if test x$config_fr30 = xtrue; then + CONFIG_FR30_TRUE= + CONFIG_FR30_FALSE='#' +else + CONFIG_FR30_TRUE='#' + CONFIG_FR30_FALSE= +fi + if test x$config_frv = xtrue; then CONFIG_FRV_TRUE= CONFIG_FRV_FALSE='#' @@ -5734,6 +5742,10 @@ 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_FR30_TRUE}" && test -z "${CONFIG_FR30_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_FR30\" 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 @@ -6484,7 +6496,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" ;; - "fr30/Makefile") CONFIG_FILES="$CONFIG_FILES fr30/Makefile" ;; "ft32/Makefile") CONFIG_FILES="$CONFIG_FILES ft32/Makefile" ;; "mep/Makefile") CONFIG_FILES="$CONFIG_FILES mep/Makefile" ;; "microblaze/Makefile") CONFIG_FILES="$CONFIG_FILES microblaze/Makefile" ;; |