public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* []patch] frv.cpu and frv.opc moved from src/cgen/cpu to src/cpu
@ 2003-08-29 22:26 Dave Brolley
  2003-08-30 14:13 ` [patch] " Doug Evans
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Brolley @ 2003-08-29 22:26 UTC (permalink / raw)
  To: binutils, cgen

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

Hi,

The official versions of frv.cpu and frv.opc are now in src/cpu. The 
ones in src/cgen/cpu have been removed. I've committed this patch which 
copies the files from the new location to the old location temporarily 
when regenerating frv source files.

It would be better if the CGEN application had a way to specify the 
location of the source files

Dave

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

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

	* Makefile.am (stamp-frv): Copy frv.cpu and frv.opc from
	$(srcdir)/../cpu temporarily when regenerating source files.
	* Makefile.in: Regenerated.


[-- Attachment #3: opcodes.diff.txt --]
[-- Type: text/plain, Size: 1708 bytes --]

Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/opcodes/Makefile.am,v
retrieving revision 1.68
diff -c -p -r1.68 Makefile.am
*** Makefile.am	14 Aug 2003 07:03:18 -0000	1.68
--- Makefile.am	29 Aug 2003 19:01:08 -0000
*************** stamp-fr30: $(CGENDEPS) $(CPUDIR)/fr30.c
*** 409,416 ****
  
  $(srcdir)/frv-desc.h $(srcdir)/frv-desc.c $(srcdir)/frv-opc.h $(srcdir)/frv-opc.c $(srcdir)/frv-ibld.c $(srcdir)/frv-asm.c $(srcdir)/frv-dis.c: $(FRV_DEPS)
  	@true
! stamp-frv: $(CGENDEPS) $(CPUDIR)/frv.cpu $(CPUDIR)/frv.opc
  	$(MAKE) run-cgen arch=frv prefix=frv options= extrafiles=
  
  $(srcdir)/openrisc-desc.h $(srcdir)/openrisc-desc.c $(srcdir)/openrisc-opc.h $(srcdir)/openrisc-opc.c $(srcdir)/openrisc-ibld.c $(srcdir)/openrisc-asm.c $(srcdir)/openrisc-dis.c: $(OPENRISC_DEPS)
  	@true
--- 409,422 ----
  
  $(srcdir)/frv-desc.h $(srcdir)/frv-desc.c $(srcdir)/frv-opc.h $(srcdir)/frv-opc.c $(srcdir)/frv-ibld.c $(srcdir)/frv-asm.c $(srcdir)/frv-dis.c: $(FRV_DEPS)
  	@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-frv: $(CGENDEPS) $(srcdir)/../cpu/frv.cpu $(srcdir)/../cpu/frv.opc
! 	cp -fp $(srcdir)/../cpu/frv.cpu $(CPUDIR)/frv.cpu
! 	cp -fp $(srcdir)/../cpu/frv.opc $(CPUDIR)/frv.opc
  	$(MAKE) run-cgen arch=frv prefix=frv options= extrafiles=
+ 	rm -f $(CPUDIR)/frv.cpu
+ 	rm -f $(CPUDIR)/frv.opc
  
  $(srcdir)/openrisc-desc.h $(srcdir)/openrisc-desc.c $(srcdir)/openrisc-opc.h $(srcdir)/openrisc-opc.c $(srcdir)/openrisc-ibld.c $(srcdir)/openrisc-asm.c $(srcdir)/openrisc-dis.c: $(OPENRISC_DEPS)
  	@true

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-02 17:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 22:26 []patch] frv.cpu and frv.opc moved from src/cgen/cpu to src/cpu Dave Brolley
2003-08-30 14:13 ` [patch] " Doug Evans
2003-09-05 15:34   ` 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).