mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
sim: smp: plumb igen flag down to all users
While mips has respected sim_igen_smp at configure time (which was always empty since it defaulted smp to off), no other igen port did. Move this to a makefile variable and plumb it through the common IGEN_RUN variable instead so everyone gets it by default. We also clean up some redundant -N0 setting with multirun mips.
This commit is contained in:
16
sim/configure
vendored
16
sim/configure
vendored
@ -656,6 +656,7 @@ SIM_MIPS_SUBTARGET
|
||||
SIM_FRV_TRAPDUMP_FLAGS
|
||||
sim_float
|
||||
sim_bitsize
|
||||
IGEN_FLAGS_SMP
|
||||
SIM_INLINE
|
||||
SIM_HW_SOCKSER
|
||||
SIM_HW_CFLAGS
|
||||
@ -12445,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 12448 "configure"
|
||||
#line 12449 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12551,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 12554 "configure"
|
||||
#line 12555 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -16095,7 +16096,8 @@ if test "${enable_sim_smp+set}" = set; then :
|
||||
*) sim_smp="$enableval";;
|
||||
esac
|
||||
fi
|
||||
sim_igen_smp="-N ${sim_smp}"
|
||||
IGEN_FLAGS_SMP="-N ${sim_smp}"
|
||||
|
||||
if test "x$sim_smp" = x0; then :
|
||||
|
||||
else
|
||||
@ -16603,10 +16605,10 @@ else
|
||||
SIM_MIPS_MULTI_SRC=doesnt-exist.c
|
||||
|
||||
fi
|
||||
SIM_MIPS_IGEN_FLAGS="-F ${sim_mips_igen_filter} ${sim_mips_igen_machine} ${sim_igen_smp}"
|
||||
SIM_MIPS_M16_FLAGS="-F ${sim_mips_m16_filter} ${sim_mips_m16_machine} ${sim_igen_smp}"
|
||||
SIM_MIPS_MICROMIPS16_FLAGS="-F ${sim_mips_micromips16_filter} ${sim_mips_micromips16_machine} ${sim_igen_smp}"
|
||||
SIM_MIPS_MICROMIPS_FLAGS="-F ${sim_mips_micromips_filter} ${sim_mips_micromips_machine} ${sim_igen_smp}"
|
||||
SIM_MIPS_IGEN_FLAGS="-F ${sim_mips_igen_filter} ${sim_mips_igen_machine}"
|
||||
SIM_MIPS_M16_FLAGS="-F ${sim_mips_m16_filter} ${sim_mips_m16_machine}"
|
||||
SIM_MIPS_MICROMIPS16_FLAGS="-F ${sim_mips_micromips16_filter} ${sim_mips_micromips16_machine}"
|
||||
SIM_MIPS_MICROMIPS_FLAGS="-F ${sim_mips_micromips_filter} ${sim_mips_micromips_machine}"
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user