aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-07-12 16:59:34 +0000
committerDoug Evans <dje@google.com>2009-07-12 16:59:34 +0000
commit6a8b86150e2ad521822b63f1839b320a749335ac (patch)
tree21c38f7c3afb0a92c8d65136870f1080895f81c2 /sim/common
parent5a12aa1e467e5154968dda0a7884e710481d77a7 (diff)
downloadgdb-6a8b86150e2ad521822b63f1839b320a749335ac.zip
gdb-6a8b86150e2ad521822b63f1839b320a749335ac.tar.gz
gdb-6a8b86150e2ad521822b63f1839b320a749335ac.tar.bz2
* common/Make-common.in (CPU_DIR): Define.
* iq2000/Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR). (stamp-cpu): Ditto. * m32r/Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR). (stamp-cpu, stamp-xcpu, stamp-2cpu): Ditto.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/Make-common.in3
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 6093583..98f96d4 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-07 Doug Evans <dje@sebabeach.org>
+
+ * Make-common.in (CPU_DIR): Define.
+
2009-07-06 Doug Evans <dje@sebabeach.org>
* Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 46feef1..b6b05a4 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -694,6 +694,9 @@ CGEN = "`if [ -f ../../guile/libguile/guile ]; then echo ../../guile/libguile/gu
CGENFLAGS = -v
CGEN_CPU_DIR = $(CGENDIR)/cpu
+# Most ports use the files here instead of cgen/cpu.
+CPU_DIR = $(srcroot)/cpu
+
CGEN_READ_SCM = $(CGENDIR)/sim.scm
CGEN_ARCH_SCM = $(CGENDIR)/sim-arch.scm
CGEN_CPU_SCM = $(CGENDIR)/sim-cpu.scm $(CGENDIR)/sim-model.scm