diff options
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 c96473d..3838b12 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -652,6 +652,8 @@ CONFIG_WINCE_FALSE CONFIG_WINCE_TRUE CONFIG_V850_FALSE CONFIG_V850_TRUE +CONFIG_RX_FALSE +CONFIG_RX_TRUE CONFIG_RISCV_FALSE CONFIG_RISCV_TRUE CONFIG_NIOS2_FALSE @@ -2960,9 +2962,7 @@ case "${target}" in subdirs="$subdirs rl78" ;; rx*-*-elf) - ac_config_files="$ac_config_files rx/Makefile" - - subdirs="$subdirs rx" + config_rx=true ;; arm*-*-elf | arm*-*-coff | arm*-*-*) config_arm=true @@ -3160,6 +3160,14 @@ else CONFIG_RISCV_FALSE= fi + if test x$config_rx = xtrue; then + CONFIG_RX_TRUE= + CONFIG_RX_FALSE='#' +else + CONFIG_RX_TRUE='#' + CONFIG_RX_FALSE= +fi + if test x$config_v850 = xtrue; then CONFIG_V850_TRUE= CONFIG_V850_FALSE='#' @@ -5739,6 +5747,10 @@ if test -z "${CONFIG_RISCV_TRUE}" && test -z "${CONFIG_RISCV_FALSE}"; then as_fn_error $? "conditional \"CONFIG_RISCV\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${CONFIG_RX_TRUE}" && test -z "${CONFIG_RX_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_RX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi 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 @@ -6424,7 +6436,6 @@ do "xc16x/Makefile") CONFIG_FILES="$CONFIG_FILES xc16x/Makefile" ;; "m32c/Makefile") CONFIG_FILES="$CONFIG_FILES m32c/Makefile" ;; "rl78/Makefile") CONFIG_FILES="$CONFIG_FILES rl78/Makefile" ;; - "rx/Makefile") CONFIG_FILES="$CONFIG_FILES rx/Makefile" ;; "spu/Makefile") CONFIG_FILES="$CONFIG_FILES spu/Makefile" ;; "tic6x/Makefile") CONFIG_FILES="$CONFIG_FILES tic6x/Makefile" ;; "or1k/Makefile") CONFIG_FILES="$CONFIG_FILES or1k/Makefile" ;; |