aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2000-12-05 00:56:44 +0000
committerBen Elliston <bje@au.ibm.com>2000-12-05 00:56:44 +0000
commitc79688eb6e1d342125275f68cc695902510b5f39 (patch)
tree2466c27f0f89a353e5db0b8ac845f585b7abe9ca /sim/common
parentbccba5f08caf84add326b6e3541680bf1f5f8746 (diff)
downloadfsf-binutils-gdb-c79688eb6e1d342125275f68cc695902510b5f39.zip
fsf-binutils-gdb-c79688eb6e1d342125275f68cc695902510b5f39.tar.gz
fsf-binutils-gdb-c79688eb6e1d342125275f68cc695902510b5f39.tar.bz2
2000-12-05 Ben Elliston <bje@redhat.com>
* Make-common.in (cgen-defs): New target. (cgen-decode): Pass $(EXTRAFILES).
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog3
-rw-r--r--sim/common/Make-common.in9
2 files changed, 10 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index e9aad81..d224827 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,8 @@
2000-12-05 Ben Elliston <bje@redhat.com>
+ * Make-common.in (cgen-defs): New target.
+ (cgen-decode): Pass $(EXTRAFILES).
+
* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
-outfile-suffix options.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 98e663b..eb65825 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -1,5 +1,5 @@
# Makefile fragment for common parts of all simulators.
-# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
# Contributed by Cygnus Support.
# This program is free software; you can redistribute it and/or modify
@@ -691,10 +691,15 @@ cgen-cpu: force
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
+cgen-defs: force
+ $(SHELL) $(srccom)/cgen.sh defs $(srcdir) \
+ $(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
+ $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" ignored
+
cgen-decode: force
$(SHELL) $(srccom)/cgen.sh decode $(srcdir) \
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
- $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" ignored
+ $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
cgen-cpu-decode: force
$(SHELL) $(srccom)/cgen.sh cpu-decode $(srcdir) \