Fix parallel make problem with mipsisa* sim targets

Richard Sandiford richard@codesourcery.com
Mon Jun 25 10:52:00 GMT 2007


This patch fixes a parallel make problem when building MIPS16-enabled
simulators.  m16_run.c depends on the automatically-generated
m16_idecode.h and m32_idecode.h, but had no rule to say so.

Tested by building mipsisa64-elf.  OK to install?

(Probably obvious, but it's a long time since my last gdb patch.)

Richard


sim/mips/
	* Makefile.in (m16_run.o): New rule.

Index: sim/mips/Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/mips/Makefile.in,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile.in
--- sim/mips/Makefile.in	20 Feb 2007 13:28:55 -0000	1.13
+++ sim/mips/Makefile.in	25 Jun 2007 10:28:28 -0000
@@ -186,6 +186,7 @@ engine.o: sim-main.h engine.c $(SIM_EXTR
 support.o: sim-main.h support.c $(SIM_EXTRA_DEPS)
 idecode.o: sim-main.h idecode.c $(SIM_EXTRA_DEPS)
 itable.o: sim-main.h itable.c $(SIM_EXTRA_DEPS)
+m16run.o: sim-main.h m16_idecode.h m32_idecode.h $(SIM_EXTRA_DEPS)
 
 m16_semantics.o: sim-main.h m16_semantics.c $(SIM_EXTRA_DEPS)
 m16_support.o: sim-main.h m16_support.c $(SIM_EXTRA_DEPS)



More information about the Gdb-patches mailing list