diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-23 23:23:27 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-28 21:55:15 -0500 |
commit | 8996c2106737302ebdf25bf993e1147065114893 (patch) | |
tree | 4a0bb2d86db4bf048e71471eb151284c3c96d4d6 /sim/configure.ac | |
parent | dba322be6e2cde20766c1b086ef492c0af2b3ae1 (diff) | |
download | gdb-8996c2106737302ebdf25bf993e1147065114893.zip gdb-8996c2106737302ebdf25bf993e1147065114893.tar.gz gdb-8996c2106737302ebdf25bf993e1147065114893.tar.bz2 |
sim: testsuite: setup per-port toolchain settings for multitarget build
Gas does not support multitarget builds -- it still only supports
a single input & output format. ld is a bit better, but requires
manual flags to select the right output. This makes it impossible
to run the complete testsuite in a multitarget build.
To address this limitation, create a suite of FOR_TARGET variables
so these can be set to precompiled as & ld programs. It requires
a bit of setup ahead of time, but it's a one-time cost, and makes
running the full testsuite at once much easier.
Diffstat (limited to 'sim/configure.ac')
-rw-r--r-- | sim/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/configure.ac b/sim/configure.ac index 86a800b..0c14b1d 100644 --- a/sim/configure.ac +++ b/sim/configure.ac @@ -103,6 +103,7 @@ m4_define([SIM_TARGET], [dnl $4 ;; esac + SIM_AC_TOOLCHAIN_FOR_TARGET($2) AM_CONDITIONAL([SIM_ENABLE_ARCH_$2], [${sim_enable_arch_$2}]) ]) @@ -151,6 +152,7 @@ if test "${enable_sim}" != no; then done if test "x${enable_example_sims}" = xyes; then + SIM_AC_TOOLCHAIN_FOR_TARGET(example-synacor) SIM_BUILD_TARGET([example-synacor]) fi fi |