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/testsuite | |
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/testsuite')
-rw-r--r-- | sim/testsuite/local.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/testsuite/local.mk b/sim/testsuite/local.mk index 5ffa9ec..378aab1 100644 --- a/sim/testsuite/local.mk +++ b/sim/testsuite/local.mk @@ -28,6 +28,7 @@ site-sim-config.exp: Makefile $(AM_V_GEN)( \ echo "set builddir \"$(builddir)\""; \ echo "set srcdir \"$(srcdir)/testsuite\""; \ + $(foreach V,$(SIM_TOOLCHAIN_VARS),echo "set $(V) \"$($(V))\"";) \ ) > $@ check-DEJAGNU: site.exp |