This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] fix sim/mn10300 dependencies
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 28 Nov 2002 13:09:45 -0500
- Subject: [commit] fix sim/mn10300 dependencies
Just FYI,
Figured out the problem. It now appears to build with -j 2.
committed,
Andrew
2002-11-28 Andrew Cagney <cagney@redhat.com>
* sim-main.h: Only include "idecode.h" once.
* Makefile.in (SIM_EXTRA_DEPS): Define.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/mn10300/Makefile.in,v
retrieving revision 1.5
diff -u -r1.5 Makefile.in
--- Makefile.in 9 Jun 2002 15:45:50 -0000 1.5
+++ Makefile.in 28 Nov 2002 18:07:35 -0000
@@ -44,6 +44,8 @@
SIM_RUN_OBJS = $(@mn10300_common@_COMMON_RUN_OBJS)
SIM_EXTRA_CLEAN = clean-extra
+# Extra dependencies for "sim-main.h"
+SIM_EXTRA_DEPS = mn10300_sim.h itable.h idecode.h
# Select mn10300 support in nltvals.def.
NL_TARGET = -DNL_TARGET_mn10300
Index: sim-main.h
===================================================================
RCS file: /cvs/src/src/sim/mn10300/sim-main.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sim-main.h
--- sim-main.h 16 Apr 1999 01:35:07 -0000 1.1.1.1
+++ sim-main.h 28 Nov 2002 18:07:35 -0000
@@ -42,7 +42,6 @@
/* These are generated files. */
#include "itable.h"
#include "idecode.h"
-#include "idecode.h"
typedef instruction_address sim_cia;
static const sim_cia null_cia = {0}; /* Dummy */