aboutsummaryrefslogtreecommitdiff
path: root/sim/common/Make-common.in
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r--sim/common/Make-common.in3
1 files changed, 3 insertions, 0 deletions
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