This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch][rfa] sim/sh64/Makefile.in


Hi,

The attached patch addresses some problems with sim/sh64/Makefile.in

1) Adding ${srcdir}/ to the arch.c target is necessary so that make
does not generate a compile command for arch.c in the build directory.

2) The last two changes look like obvious typos and the targets don't
exist.

ok to commit?

Dave
2002-08-29  Dave Brolley  <brolley@redhat.com>

	* Makefile.in (arch.c): Change to ${srcdir}/arch.c.
	(stamp-compact): Change to stamp-decode-compact.
	(stamp-media): Change to stamp-decode-media.
Index: sim/sh64/Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/sh64/Makefile.in,v
retrieving revision 1.1
diff -c -p -r1.1 Makefile.in
*** sim/sh64/Makefile.in	1 Feb 2002 11:44:26 -0000	1.1
--- sim/sh64/Makefile.in	29 Aug 2002 19:49:06 -0000
*************** stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH
*** 108,114 ****
  	$(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all isa=compact,media \
  	  FLAGS="with-scache"
  	touch $@
! arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
  	@true
  
  stamp-desc: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_CPU_DIR)/sh.cpu $(CGEN_CPU_DIR)/sh.opc $(CGEN_CPU_DIR)/sh64-compact.cpu $(CGEN_CPU_DIR)/sh64-media.cpu Makefile
--- 108,114 ----
  	$(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all isa=compact,media \
  	  FLAGS="with-scache"
  	touch $@
! arch.h ${srcdir}/arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
  	@true
  
  stamp-desc: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_CPU_DIR)/sh.cpu $(CGEN_CPU_DIR)/sh.opc $(CGEN_CPU_DIR)/sh64-compact.cpu $(CGEN_CPU_DIR)/sh64-media.cpu Makefile
*************** stamp-decode-compact: $(CGEN_READ_SCM) $
*** 142,153 ****
  	$(MAKE) cgen-decode $(CGEN_FLAGS_TO_PASS) \
  	  cpu=sh64 mach=sh5 isa=compact FLAGS="with-scache" SUFFIX="-compact" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
  	touch $@
! sem-compact.c sem-compact-switch.c decode-compact.c decode-compact.h: $(CGEN_MAINT) stamp-compact
  	@true
  
  stamp-decode-media: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CGEN_CPU_DIR)/sh.cpu $(CGEN_CPU_DIR)/sh.opc $(CGEN_CPU_DIR)/sh64-media.cpu Makefile
  	$(MAKE) cgen-decode $(CGEN_FLAGS_TO_PASS) \
  	  cpu=sh64 mach=sh5 isa=media FLAGS="with-scache" SUFFIX="-media" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
  	touch $@
! sem-media.c sem-media-switch.c decode-media.c decode-media.h: $(CGEN_MAINT) stamp-media
  	@true
--- 142,153 ----
  	$(MAKE) cgen-decode $(CGEN_FLAGS_TO_PASS) \
  	  cpu=sh64 mach=sh5 isa=compact FLAGS="with-scache" SUFFIX="-compact" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
  	touch $@
! sem-compact.c sem-compact-switch.c decode-compact.c decode-compact.h: $(CGEN_MAINT) stamp-decode-compact
  	@true
  
  stamp-decode-media: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CGEN_CPU_DIR)/sh.cpu $(CGEN_CPU_DIR)/sh.opc $(CGEN_CPU_DIR)/sh64-media.cpu Makefile
  	$(MAKE) cgen-decode $(CGEN_FLAGS_TO_PASS) \
  	  cpu=sh64 mach=sh5 isa=media FLAGS="with-scache" SUFFIX="-media" EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
  	touch $@
! sem-media.c sem-media-switch.c decode-media.c decode-media.h: $(CGEN_MAINT) stamp-decode-media
  	@true

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]