* Makefile.in (stamp-arch): Pass archfile to cgen-arch.

(stamp-cpu): Pass archfile to cgen-cpu-decode.
This commit is contained in:
Doug Evans 2009-07-08 05:38:01 +00:00
parent 466a53e020
commit 8065377a81
2 changed files with 10 additions and 1 deletions

View 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.

View 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