diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-27 01:05:23 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-19 20:26:52 -0500 |
commit | 770dd85aaf0aa2b986a1fe827abfb3e48f2d4a1b (patch) | |
tree | 20c18a8e2eec00a970610f042777405ebd1612ab /libgloss/configure | |
parent | 5798c3bbc783e83f6a144dd3148dd08d785dabdf (diff) | |
download | newlib-770dd85aaf0aa2b986a1fe827abfb3e48f2d4a1b.zip newlib-770dd85aaf0aa2b986a1fe827abfb3e48f2d4a1b.tar.gz newlib-770dd85aaf0aa2b986a1fe827abfb3e48f2d4a1b.tar.bz2 |
libgloss: merge visium into top-level Makefile
Avoid a recursive make to speed things up a bit.
A visium-elf build shows installed objects & libs produce same code.
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 5aa46f0..970a4cb 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -650,6 +650,8 @@ CONFIG_XSTORMY16_FALSE CONFIG_XSTORMY16_TRUE CONFIG_WINCE_FALSE CONFIG_WINCE_TRUE +CONFIG_VISIUM_FALSE +CONFIG_VISIUM_TRUE CONFIG_V850_FALSE CONFIG_V850_TRUE CONFIG_RX_FALSE @@ -2932,9 +2934,7 @@ case "${target}" in config_v850=true ;; visium-*-*) - ac_config_files="$ac_config_files visium/Makefile" - - subdirs="$subdirs visium" + config_visium=true config_testsuite=false ;; xc16x-*-*) @@ -3192,6 +3192,14 @@ else CONFIG_V850_FALSE= fi + if test x$config_visium = xtrue; then + CONFIG_VISIUM_TRUE= + CONFIG_VISIUM_FALSE='#' +else + CONFIG_VISIUM_TRUE='#' + CONFIG_VISIUM_FALSE= +fi + if test x$config_wince = xtrue; then CONFIG_WINCE_TRUE= CONFIG_WINCE_FALSE='#' @@ -5779,6 +5787,10 @@ if test -z "${CONFIG_V850_TRUE}" && test -z "${CONFIG_V850_FALSE}"; then as_fn_error $? "conditional \"CONFIG_V850\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${CONFIG_VISIUM_TRUE}" && test -z "${CONFIG_VISIUM_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_VISIUM\" 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 @@ -6455,7 +6467,6 @@ do "mep/Makefile") CONFIG_FILES="$CONFIG_FILES mep/Makefile" ;; "microblaze/Makefile") CONFIG_FILES="$CONFIG_FILES microblaze/Makefile" ;; "mt/Makefile") CONFIG_FILES="$CONFIG_FILES mt/Makefile" ;; - "visium/Makefile") CONFIG_FILES="$CONFIG_FILES visium/Makefile" ;; "xc16x/Makefile") CONFIG_FILES="$CONFIG_FILES xc16x/Makefile" ;; "m32c/Makefile") CONFIG_FILES="$CONFIG_FILES m32c/Makefile" ;; "spu/Makefile") CONFIG_FILES="$CONFIG_FILES spu/Makefile" ;; |