diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-12-25 03:13:24 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-27 00:31:34 -0500 |
commit | f12c3c632eb72022b70098b3c972735558199d41 (patch) | |
tree | de1c1bb35a9338beed019974b6ad7a5edd9fd364 /sim/configure | |
parent | f6d58d40125c4ff2bc162e6bc6e9f3e3f56dee6e (diff) | |
download | gdb-f12c3c632eb72022b70098b3c972735558199d41.zip gdb-f12c3c632eb72022b70098b3c972735558199d41.tar.gz gdb-f12c3c632eb72022b70098b3c972735558199d41.tar.bz2 |
sim: mips: hoist "multi" igen rules up to common builds
Since these are the last mips igen rules, we can clean up a number of
bits in the local Makefile.in.
Diffstat (limited to 'sim/configure')
-rwxr-xr-x | sim/configure | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/sim/configure b/sim/configure index ef6cc0a..c31ff71 100755 --- a/sim/configure +++ b/sim/configure @@ -641,6 +641,8 @@ LTLIBOBJS include_makefile SIM_RX_CYCLE_ACCURATE_FLAGS SIM_RISCV_BITSIZE +SIM_MIPS_GEN_MODE_MULTI_FALSE +SIM_MIPS_GEN_MODE_MULTI_TRUE SIM_MIPS_GEN_MODE_M16_FALSE SIM_MIPS_GEN_MODE_M16_TRUE SIM_MIPS_GEN_MODE_SINGLE_FALSE @@ -12448,7 +12450,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12451 "configure" +#line 12453 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12554,7 +12556,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12557 "configure" +#line 12559 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16636,6 +16638,14 @@ else SIM_MIPS_GEN_MODE_M16_FALSE= fi + if test "$SIM_MIPS_GEN" = "MULTI"; then + SIM_MIPS_GEN_MODE_MULTI_TRUE= + SIM_MIPS_GEN_MODE_MULTI_FALSE='#' +else + SIM_MIPS_GEN_MODE_MULTI_TRUE='#' + SIM_MIPS_GEN_MODE_MULTI_FALSE= +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking riscv bitsize" >&5 $as_echo_n "checking riscv bitsize... " >&6; } @@ -16962,6 +16972,10 @@ if test -z "${SIM_MIPS_GEN_MODE_M16_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_M16_F as_fn_error $? "conditional \"SIM_MIPS_GEN_MODE_M16\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${SIM_MIPS_GEN_MODE_MULTI_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_MULTI_FALSE}"; then + as_fn_error $? "conditional \"SIM_MIPS_GEN_MODE_MULTI\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 |