From 599a6ff01e1f5eecf9748aee482e1e2adb68e539 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 15 Apr 2021 16:03:15 -0700 Subject: [PATCH] sim lm32: Use a known-good shell with genmloop.sh. Explicitly use a known-good shell found by autoconf for executing additional scripts in genmloop.sh rather than the building user's shell. sim/lm32/ChangeLog: * Makefile.in: Pass -shell to genmloop.sh. --- sim/lm32/ChangeLog | 4 ++++ sim/lm32/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 32766f07950..31500e5c6c8 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2021-04-15 John Baldwin + + * Makefile.in: Pass -shell to genmloop.sh. + 2021-04-12 Mike Frysinger * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/lm32/Makefile.in b/sim/lm32/Makefile.in index 6a71aceb45b..633ffec8fd8 100644 --- a/sim/lm32/Makefile.in +++ b/sim/lm32/Makefile.in @@ -43,7 +43,7 @@ lm32.o: lm32.c $(LM32BF_INCLUDE_DEPS) # FIXME: Use of `mono' is wip. mloop.c eng.h: stamp-mloop stamp-mloop: $(srcdir)/../common/genmloop.sh mloop.in Makefile - $(SHELL) $(srccom)/genmloop.sh \ + $(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \ -mono -fast -pbb -switch sem-switch.c \ -cpu lm32bf -infile $(srcdir)/mloop.in $(SHELL) $(srcroot)/move-if-change eng.hin eng.h -- 2.30.2