sim lm32: Use a known-good shell with genmloop.sh.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 15 Apr 2021 23:03:15 +0000 (16:03 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 15 Apr 2021 23:06:10 +0000 (16:06 -0700)
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
sim/lm32/Makefile.in

index 32766f07950d9770985f77336ebf270ef58b6d8c..31500e5c6c81fd76fbe0cf36f032bdaeefe3a53c 100644 (file)
@@ -1,3 +1,7 @@
+2021-04-15  John Baldwin  <jhb@FreeBSD.org>
+
+       * Makefile.in: Pass -shell to genmloop.sh.
+
 2021-04-12  Mike Frysinger  <vapier@gentoo.org>
 
        * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
index 6a71aceb45b0fab18bc7e50f44a355c97614e08a..633ffec8fd8fcbf5e30a8c035adf44455fec9bb2 100644 (file)
@@ -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