From a0e674c1ce2c877426f8a861c5294c535c5d49e6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 16 Jan 2021 02:27:38 -0500 Subject: sim: add preliminary support for --enable-targets This doesn't actually create one `run` program like other projects, but creates multiple `run-$arch` targets. While it might not seem that useful initially, this has some nice properties: - Allows us to quickly build all sim targets in a single tree. - Positions us better for converting targets over to a proper multitarget build+install. We don't have the ability to actually run tests against them, but that's due to a limitation in gas: it doesn't support multitarget. If that ever changes, we should be able to turn on our tests too. We can improve the test framework to fallback to a system toolchain if available to help mitigate that. --- sim/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sim/ChangeLog') diff --git a/sim/ChangeLog b/sim/ChangeLog index 74961ef..8e4d932 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,10 @@ +2021-04-03 Mike Frysinger + + * Makefile.am (SIM_PRIMARY_TARGET, AM_MAKEFLAGS): Define. + * configure.ac: Add --enable-targets option. Define SIM_PRIMARY_TARGET + and SIM_TARGET. Rewrite case statement with SIM_TARGET calls. + * Makefile.in, configure: Regenerate. + 2021-04-02 Mike Frysinger * Makefile.am [SIM_ENABLE_IGEN]: Include igen/local.mk. -- cgit v1.1