From 111b1cf97e7e5a8db35b48c4a9d93692dec799ce Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 25 Dec 2022 01:05:09 -0500 Subject: 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. --- sim/m4/sim_ac_option_smp.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sim/m4') diff --git a/sim/m4/sim_ac_option_smp.m4 b/sim/m4/sim_ac_option_smp.m4 index 5c2b35f..47ddabd 100644 --- a/sim/m4/sim_ac_option_smp.m4 +++ b/sim/m4/sim_ac_option_smp.m4 @@ -27,7 +27,8 @@ AC_ARG_ENABLE(sim-smp, no) sim_smp="0";; *) sim_smp="$enableval";; esac])dnl -sim_igen_smp="-N ${sim_smp}" +IGEN_FLAGS_SMP="-N ${sim_smp}" +AC_SUBST(IGEN_FLAGS_SMP) dnl NB: The ppc code uses a diff default because its smp works. That is why dnl we don't unconditionally enable WITH_SMP here. Once we unify ppc, we can dnl make this unconditional. -- cgit v1.1