From 31b28250dcd75b2ecf2bcf398389bf94bf223aff Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Fri, 8 Jul 2011 03:18:56 +0000 Subject: [PATCH] * Makefile.in (tmp-mach-multi): Exit early when igen fails. --- sim/mips/ChangeLog | 4 ++++ sim/mips/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 2f4a8d5ebc..b2d4ea699b 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2011-07-08 Hans-Peter Nilsson + + * Makefile.in (tmp-mach-multi): Exit early when igen fails. + 2011-07-05 Mike Frysinger * interp.c (sim_do_command): Delete. diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in index d5e093b983..3b43518a14 100644 --- a/sim/mips/Makefile.in +++ b/sim/mips/Makefile.in @@ -352,7 +352,7 @@ tmp-mach-multi: $(IGEN_INSN) $(IGEN_DC) ../igen/igen $(IGEN_INCLUDE) -n $${p}_support.c -f tmp-support.c \ -n $${p}_engine.h -he tmp-engine.h \ -n $${p}_engine.c -e tmp-engine.c \ - ; \ + || exit; \ $(SHELL) $(srcdir)/../../move-if-change tmp-icache.h $${p}_icache.h ; \ $(SHELL) $(srcdir)/../../move-if-change tmp-icache.c $${p}_icache.c ; \ $(SHELL) $(srcdir)/../../move-if-change tmp-idecode.h $${p}_idecode.h ; \