public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* [patch][rfa] sim/sh64/Makefile.in
@ 2002-08-29 12:54 Dave Brolley
  0 siblings, 0 replies; only message in thread
From: Dave Brolley @ 2002-08-29 12:54 UTC (permalink / raw)
  To: cgen, gdb-patches

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

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

[-- Attachment #2: sh64.ChangeLog --]
[-- Type: text/plain, Size: 197 bytes --]

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.

[-- Attachment #3: sh64.patch.txt --]
[-- Type: text/plain, Size: 2634 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-29 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-29 12:54 [patch][rfa] sim/sh64/Makefile.in Dave Brolley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).