aboutsummaryrefslogtreecommitdiff
path: root/sim/v850
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-29 13:34:38 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-08 00:57:58 -0400
commita55b92be28bab98a2acae597cbd365eb53b5faf3 (patch)
tree2f0c4394cb0fbbf586f645cfc931e690d725187c /sim/v850
parentd20bc122888f03a2d2a5a9162f6287de5a79a8f9 (diff)
downloadgdb-a55b92be28bab98a2acae597cbd365eb53b5faf3.zip
gdb-a55b92be28bab98a2acae597cbd365eb53b5faf3.tar.gz
gdb-a55b92be28bab98a2acae597cbd365eb53b5faf3.tar.bz2
sim: igen: harmonize tool variables
Separate the name of the igen program from the options used to run it. This allows us to avoid duplicating ../igen/igen in Makefiles and reuse the existing setting in the common Makefile. This also allows us to easily harmonize the use of EXEEXT between igen/local.mk and the common makefiles when cross-compiling for e.g. Windows.
Diffstat (limited to 'sim/v850')
-rw-r--r--sim/v850/ChangeLog5
-rw-r--r--sim/v850/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 8f0baa0..268f44e 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,5 +1,10 @@
2021-06-08 Mike Frysinger <vapier@gentoo.org>
+ * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
+ with $(IGEN).
+
+2021-06-08 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (AC_CHECK_FUNCS_ONCE): Remove chown.
* simops.c (OP_10007E0): Remove HAVE_CHOWN check.
* config.in, configure: Regenerate.
diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in
index 3e1b405..9d46211 100644
--- a/sim/v850/Makefile.in
+++ b/sim/v850/Makefile.in
@@ -66,8 +66,8 @@ clean-igen:
IGEN_TRACE= # -G omit-line-numbers # -G trace-rule-selection -G trace-rule-rejection -G trace-entries
IGEN_INSN=$(srcdir)/v850.igen
IGEN_DC=$(srcdir)/v850-dc
-tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen
- $(IGEN) \
+tmp-igen: $(IGEN_INSN) $(IGEN_DC) $(IGEN)
+ $(IGEN_RUN) \
$(IGEN_TRACE) \
-G gen-direct-access \
-G gen-zero-r0 \