aboutsummaryrefslogtreecommitdiff
path: root/sim/common/Make-common.in
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-07-07 08:09:19 +0000
committerDoug Evans <dje@google.com>2009-07-07 08:09:19 +0000
commit2c2a86d776948774f6121fee6c8898c6be92fe1a (patch)
tree1411c26398bc83f25290649a67ebe137b670d4be /sim/common/Make-common.in
parent02b96ddcb672ebc67e2c02a3324a40c00283781c (diff)
downloadgdb-2c2a86d776948774f6121fee6c8898c6be92fe1a.zip
gdb-2c2a86d776948774f6121fee6c8898c6be92fe1a.tar.gz
gdb-2c2a86d776948774f6121fee6c8898c6be92fe1a.tar.bz2
* Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
identifiers for file types rather than encoding internal implementation details of cgen.sh. (CGEN_CPU_WRITE,CGEN_CPU_SEM,CGEN_CPU_SEMSW): Ditto. * cgen.sh: Add support for parallel makes. Rewrite cpu/decode handling to avoid generating "extrafiles" twice.
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r--sim/common/Make-common.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 5487f85..46feef1 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -701,11 +701,12 @@ CGEN_DECODE_SCM = $(CGENDIR)/sim-decode.scm
CGEN_DESC_SCM = $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm
# Various choices for which cpu specific files to generate.
-CGEN_CPU_EXTR = -E tmp-ext.c1
-CGEN_CPU_READ = -R tmp-read.c1
-CGEN_CPU_WRITE = -W tmp-write.c1
-CGEN_CPU_SEM = -S tmp-sem.c1
-CGEN_CPU_SEMSW = -X tmp-semsw.c1
+# These are passed to cgen.sh in the "extrafiles" argument.
+CGEN_CPU_EXTR = /extr/
+CGEN_CPU_READ = /read/
+CGEN_CPU_WRITE = /write/
+CGEN_CPU_SEM = /sem/
+CGEN_CPU_SEMSW = /semsw/
CGEN_FLAGS_TO_PASS = \
CGEN='$(CGEN)' \