diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-29 13:34:38 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-08 00:57:58 -0400 |
commit | a55b92be28bab98a2acae597cbd365eb53b5faf3 (patch) | |
tree | 2f0c4394cb0fbbf586f645cfc931e690d725187c /sim/mn10300 | |
parent | d20bc122888f03a2d2a5a9162f6287de5a79a8f9 (diff) | |
download | gdb-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/mn10300')
-rw-r--r-- | sim/mn10300/ChangeLog | 5 | ||||
-rw-r--r-- | sim/mn10300/Makefile.in | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 1f5753f..a813e4e 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,8 @@ +2021-06-08 Mike Frysinger <vapier@gentoo.org> + + * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen + with $(IGEN). + 2021-05-29 Mike Frysinger <vapier@gentoo.org> * interp.c [!SIGTRAP] (SIGTRAP): Define to 5. diff --git a/sim/mn10300/Makefile.in b/sim/mn10300/Makefile.in index 39faa30..ba48273 100644 --- a/sim/mn10300/Makefile.in +++ b/sim/mn10300/Makefile.in @@ -62,8 +62,8 @@ IGEN_TRACE= # -G omit-line-numbers # -G trace-rule-selection -G trace-rule-rejec IGEN_INSN=$(srcdir)/mn10300.igen IGEN_INSN_INC=$(srcdir)/am33.igen $(srcdir)/am33-2.igen IGEN_DC=$(srcdir)/mn10300.dc -tmp-igen: $(IGEN_INSN) $(IGEN_INSN_INC) $(IGEN_DC) ../igen/igen - $(IGEN) \ +tmp-igen: $(IGEN_INSN) $(IGEN_INSN_INC) $(IGEN_DC) $(IGEN) + $(IGEN_RUN) \ $(IGEN_TRACE) \ -G gen-direct-access \ -M mn10300,am33 -G gen-multi-sim=am33 \ |