[patch] Use src/cpu/m32r.cpu.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[patch] Use src/cpu/m32r.cpu.

Doug Evans-2
Hi.

I checked this in.

2009-07-12  Doug Evans  <[hidden email]>

        * Makefile.am (cpudir): Define.
        (cgen-m32r): Use src/cpu/m32r.cpu instead of src/cgen/cpu/m32r.cpu.
        * Makefile.in: Regenerate.

Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/sid/component/cgen-cpu/m32r/Makefile.am,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile.am
--- Makefile.am 8 Sep 2003 18:55:35 -0000 1.6
+++ Makefile.am 12 Jul 2009 17:47:05 -0000
@@ -46,6 +46,7 @@ check-local: all
  (cd ../../testsuite ; $(MAKE) check RUNTESTFLAGS="$(RUNTESTFLAGS) $(DEJAGNUTESTS)" )
 
 cgendir = $(srcdir)/../../../../cgen
+cpudir = $(srcdir)/../../../../cpu
 CGENFLAGS = -v
 
 CGEN_ALL = cgen-m32r
@@ -55,7 +56,7 @@ cgen-all: $(CGEN_ALL)
 cgen-m32r:
  $(SHELL) ../CGEN.sh cpu-decode $(srcdir) $(cgendir) "$(CGENFLAGS)" \
  m32r "with-scache" m32rbf m32r m32r m32rbf "m32r-" \
- $(cgendir)/cpu/m32r.cpu \
+ $(cpudir)/m32r.cpu \
  "desc.h cpu.h decode.h decode.cxx semantics.cxx write.cxx defs.h"
 
 html_stylesheet=$(srcdir)/../../component_html.xsl
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sid/component/cgen-cpu/m32r/Makefile.in,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile.in
--- Makefile.in 4 Jun 2005 03:23:04 -0000 1.8
+++ Makefile.in 12 Jul 2009 17:47:05 -0000
@@ -248,6 +248,7 @@ OPCODES_COMPILE_FLAGS = -DHAVE_CONFIG_H
 
 DEJAGNUTESTS = m32rbsp.exp
 cgendir = $(srcdir)/../../../../cgen
+cpudir = $(srcdir)/../../../../cpu
 CGENFLAGS = -v
 CGEN_ALL = cgen-m32r
 html_stylesheet = $(srcdir)/../../component_html.xsl
@@ -658,7 +659,7 @@ cgen-all: $(CGEN_ALL)
 cgen-m32r:
  $(SHELL) ../CGEN.sh cpu-decode $(srcdir) $(cgendir) "$(CGENFLAGS)" \
  m32r "with-scache" m32rbf m32r m32r m32rbf "m32r-" \
- $(cgendir)/cpu/m32r.cpu \
+ $(cpudir)/m32r.cpu \
  "desc.h cpu.h decode.h decode.cxx semantics.cxx write.cxx defs.h"
 
 @HAVE_XSLTPROC_TRUE@@MAINTAINER_MODE_TRUE@.xml.html: