]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/configure.ac
sim: testsuite: setup per-port toolchain settings for multitarget build
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 Jun 2021 03:23:27 +0000 (23:23 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 29 Nov 2021 02:55:15 +0000 (21:55 -0500)
commit8996c2106737302ebdf25bf993e1147065114893
tree4a0bb2d86db4bf048e71471eb151284c3c96d4d6
parentdba322be6e2cde20766c1b086ef492c0af2b3ae1
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.
sim/Makefile.in
sim/configure
sim/configure.ac
sim/m4/sim_ac_toolchain.m4
sim/testsuite/local.mk