This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[]patch] frv.cpu and frv.opc moved from src/cgen/cpu to src/cpu
- From: Dave Brolley <brolley at redhat dot com>
- To: binutils at sources dot redhat dot com, cgen at sources dot redhat dot com
- Date: Fri, 29 Aug 2003 15:18:18 -0400
- Subject: []patch] frv.cpu and frv.opc moved from src/cgen/cpu to src/cpu
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
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.
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