summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2003-09-08 17:25:35 +0000
committerDave Brolley <brolley@redhat.com>2003-09-08 17:25:35 +0000
commitd91f8d65b4e230d343467fdd1b4f7646c2fb98da (patch)
tree5c5fc3209d42593a0f30a38f8c846f1b716983e8 /sim
parent4c70d36b0cc06546ef5e5b3e9af110c173c8edd2 (diff)
downloadgdb-d91f8d65b4e230d343467fdd1b4f7646c2fb98da.tar.gz
2003-09-08 Dave Brolley <brolley@redhat.com>
On behalf of Doug Evans <dje@sebabeach.org> * Makefile.in (stamp-arch,stamp-cpu): Pass archfile to cgen. Remove copying of .cpu file to cgen/cpu, no longer needed.
Diffstat (limited to 'sim')
-rw-r--r--sim/frv/ChangeLog6
-rw-r--r--sim/frv/Makefile.in8
2 files changed, 8 insertions, 6 deletions
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index e7ae4f4c69e..91f636a068c 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-08 Dave Brolley <brolley@redhat.com>
+
+ On behalf of Doug Evans <dje@sebabeach.org>
+ * Makefile.in (stamp-arch,stamp-cpu): Pass archfile to cgen.
+ Remove copying of .cpu file to cgen/cpu, no longer needed.
+
2003-09-03 Dave Brolley <brolley@redhat.com>
* cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.
diff --git a/sim/frv/Makefile.in b/sim/frv/Makefile.in
index f01d421fe8c..e936c889eff 100644
--- a/sim/frv/Makefile.in
+++ b/sim/frv/Makefile.in
@@ -111,23 +111,19 @@ CGEN_MAINT = ; @true
@CGEN_MAINT@CGEN_MAINT =
stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(srcdir)/../../cpu/frv.cpu
- cp -fp $(srcdir)/../../cpu/frv.cpu $(CGEN_CPU_DIR)/frv.cpu
$(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all \
+ archfile=$(srcdir)/../../cpu/frv.cpu \
FLAGS="with-scache"
- rm -f $(CGEN_CPU_DIR)/frv.cpu
touch stamp-arch
arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
# @true
-# .cpu and .opc files for frv are kept in a different directory, but cgen has no switch to specify that location, so
-# copy those file to the regular place.
stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(srcdir)/../../cpu/frv.cpu
- cp -fp $(srcdir)/../../cpu/frv.cpu $(CGEN_CPU_DIR)/frv.cpu
$(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
cpu=frvbf mach=frv,fr500,fr400,tomcat,simple SUFFIX= \
+ archfile=$(srcdir)/../../cpu/frv.cpu \
FLAGS="with-scache with-profile=fn with-generic-write with-parallel-only" \
EXTRAFILES="$(CGEN_CPU_SEM)"
- rm -f $(CGEN_CPU_DIR)/frv.cpu
touch stamp-cpu
cpu.h sem.c model.c decode.c decode.h: $(CGEN_MAINT) stamp-cpu
# @true