* Makefile.in (stamp-arch): Pass archfile to cgen-arch.
authorDoug Evans <dje@google.com>
Wed, 8 Jul 2009 05:38:01 +0000 (05:38 +0000)
committerDoug Evans <dje@google.com>
Wed, 8 Jul 2009 05:38:01 +0000 (05:38 +0000)
(stamp-cpu): Pass archfile to cgen-cpu-decode.

sim/iq2000/ChangeLog
sim/iq2000/Makefile.in

index 9ad0a63efd019145ee41691cd12810a7ed9c9b22..2e418f082b4ff8cd5cb392c4ee2e4cef837ca0d3 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-07  Doug Evans  <dje@sebabeach.org>
+
+       * Makefile.in (stamp-arch): Pass archfile to cgen-arch.
+       (stamp-cpu): Pass archfile to cgen-cpu-decode.
+
 2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
 
        * configure: Regenerate to track ../common/common.m4 changes.
index 030fbbff769437d638a8c52c8eb397c0801955dc..e6fd16c4eef1a64cd9c09d862059187c7ce1b92f 100644 (file)
@@ -94,6 +94,7 @@ CGEN_MAINT = ; @true
 
 stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CGEN_CPU_DIR)/iq2000.cpu Makefile
        $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=iq2000 \
+         archfile=$(CGEN_CPU_DIR)/iq2000.cpu \
          FLAGS="with-scache with-profile=fn"
        touch stamp-arch
 arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
@@ -101,7 +102,10 @@ arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
 
 stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CGEN_CPU_DIR)/iq2000.cpu Makefile
        $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
-         cpu=iq2000bf mach=iq2000 FLAGS="with-scache with-profile=fn" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
+         cpu=iq2000bf mach=iq2000 \
+         archfile=$(CGEN_CPU_DIR)/iq2000.cpu \
+         FLAGS="with-scache with-profile=fn" \
+         EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
        touch stamp-cpu
 cpu.h sem.c sem-switch.c model.c decode.c decode.h: $(CGEN_MAINT) stamp-cpu
        @true