diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-12-25 02:48:36 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-27 00:31:34 -0500 |
commit | 3a31051b3a5ded399dd54c5598608cea372675e1 (patch) | |
tree | 9425d5ddf66d5716ab4a6c8b6507b1926c5f34a0 /sim/configure | |
parent | 07f60ed83166c163794b2f5987b217e22e1ef6b2 (diff) | |
download | binutils-3a31051b3a5ded399dd54c5598608cea372675e1.zip binutils-3a31051b3a5ded399dd54c5598608cea372675e1.tar.gz binutils-3a31051b3a5ded399dd54c5598608cea372675e1.tar.bz2 |
sim: mips: hoist "single" igen rules up to common builds
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 b9626ce..66e6cda 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_SINGLE_FALSE +SIM_MIPS_GEN_MODE_SINGLE_TRUE SIM_MIPS_MULTI_OBJ SIM_MIPS_MULTI_SRC SIM_MIPS_MULTI_IGEN_CONFIGS @@ -12444,7 +12446,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12447 "configure" +#line 12449 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12550,7 +12552,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12553 "configure" +#line 12555 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16616,6 +16618,14 @@ SIM_MIPS_M16_FLAGS="-F ${sim_mips_m16_filter} ${sim_mips_m16_machine}" + if test "$SIM_MIPS_GEN" = "SINGLE"; then + SIM_MIPS_GEN_MODE_SINGLE_TRUE= + SIM_MIPS_GEN_MODE_SINGLE_FALSE='#' +else + SIM_MIPS_GEN_MODE_SINGLE_TRUE='#' + SIM_MIPS_GEN_MODE_SINGLE_FALSE= +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking riscv bitsize" >&5 $as_echo_n "checking riscv bitsize... " >&6; } @@ -16934,6 +16944,10 @@ if test -z "${SIM_ENABLE_HW_TRUE}" && test -z "${SIM_ENABLE_HW_FALSE}"; then as_fn_error $? "conditional \"SIM_ENABLE_HW\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${SIM_MIPS_GEN_MODE_SINGLE_TRUE}" && test -z "${SIM_MIPS_GEN_MODE_SINGLE_FALSE}"; then + as_fn_error $? "conditional \"SIM_MIPS_GEN_MODE_SINGLE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 |