aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-01-25 00:48:17 +0000
committerDoug Evans <dje@google.com>2010-01-25 00:48:17 +0000
commit80532737986a54ba841f5aabbc290d0de7c5cf70 (patch)
tree5f01bd2e1dda9abbd3246a07a1b0cde44eb0f8fd /sim
parentea6f8917d7068b263b72f7d85ada2ea3d719a5f1 (diff)
downloadgdb-80532737986a54ba841f5aabbc290d0de7c5cf70.zip
gdb-80532737986a54ba841f5aabbc290d0de7c5cf70.tar.gz
gdb-80532737986a54ba841f5aabbc290d0de7c5cf70.tar.bz2
* Make-common.in (CGEN_SIM_DEPS): Define.
(CGEN_INCLUDE_DEPS): Use it. (CGEN_MAIN_CPU_DEPS): Simplify.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog6
-rw-r--r--sim/common/Make-common.in22
2 files changed, 19 insertions, 9 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index dfe328c..2f62553 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-24 Doug Evans <dje@sebabeach.org>
+
+ * Make-common.in (CGEN_SIM_DEPS): Define.
+ (CGEN_INCLUDE_DEPS): Use it.
+ (CGEN_MAIN_CPU_DEPS): Simplify.
+
2010-01-22 Doug Evans <dje@sebabeach.org>
* cgen-ops.h (SUBWORDXFSI): Fix word ordering.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 4457477..9dd79ab 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -181,14 +181,21 @@ SIM_NEW_COMMON_OBJS = \
\
$(SIM_HW_OBJS) \
-# Add this to SIM_EXTRA_DEPS.
-CGEN_INCLUDE_DEPS = \
- $(srccom)/cgen-cpu.h \
+# cgen-sim.h and the headers it includes
+CGEN_SIM_DEPS = \
+ $(srccom)/cgen-sim.h \
$(srccom)/cgen-defs.h \
- $(srccom)/cgen-engine.h \
$(srccom)/cgen-scache.h \
- $(srccom)/cgen-sim.h \
+ $(srccom)/cgen-fpu.h \
+ $(srccom)/cgen-par.h \
+ $(srccom)/cgen-cpu.h \
$(srccom)/cgen-trace.h \
+ cpuall.h
+
+# Add this to SIM_EXTRA_DEPS.
+CGEN_INCLUDE_DEPS = \
+ $(CGEN_SIM_DEPS) \
+ $(srccom)/cgen-engine.h \
$(srccom)/cgen-types.h \
$(srcdir)/../../include/opcode/cgen.h
@@ -590,11 +597,8 @@ nrun.o: $(srccom)/nrun.c config.h tconfig.h $(remote_sim_h) $(callback_h) \
# For use in Makefile.in for cpu-specific files.
CGEN_MAIN_CPU_DEPS = \
$(SIM_MAIN_DEPS) \
- $(CGEN_INCLUDE_DEPS) \
$(srccom)/cgen-ops.h \
- $(srccom)/cgen-mem.h \
- $(srccom)/cgen-par.h \
- $(srccom)/cgen-fpu.h
+ $(srccom)/cgen-mem.h
cgen-run.o: $(srccom)/cgen-run.c $(sim_main_headers)
$(CC) -c $(srccom)/cgen-run.c $(ALL_CFLAGS)