diff options
| author | Alex Bennée | 2021-02-02 14:39:57 +0100 |
|---|---|---|
| committer | Alex Bennée | 2021-02-08 11:55:20 +0100 |
| commit | 47e3424ac97fdc3d11186cf15a686dfee8e8777a (patch) | |
| tree | 21f84e5e8e5f25699bc601a553445fe43c91179d /scripts | |
| parent | tests/tcg: Replace /bin/true by true (required on macOS) (diff) | |
| download | qemu-47e3424ac97fdc3d11186cf15a686dfee8e8777a.tar.gz qemu-47e3424ac97fdc3d11186cf15a686dfee8e8777a.tar.xz qemu-47e3424ac97fdc3d11186cf15a686dfee8e8777a.zip | |
scripts/mtest2make.py: export all-%s-targets variable and use it
There are some places where the conditional makefile support is the
simplest solution. Now we don't expose CONFIG_TCG as a variable create
a new one that can be checked for the check-help output.
As check-tcg is a PHONY target we re-use check-softfloat to gate that
as well.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210202134001.25738-13-alex.bennee@linaro.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mtest2make.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mtest2make.py b/scripts/mtest2make.py index 25ee6887cf..cbbcba100d 100644 --- a/scripts/mtest2make.py +++ b/scripts/mtest2make.py @@ -110,6 +110,7 @@ def emit_suite(name, suite, prefix): print('ifneq ($(filter %s %s, $(MAKECMDGOALS)),)' % (target, prefix)) print('.tests += $(.test.$(SPEED).%s)' % (target, )) print('endif') + print('all-%s-targets += %s' % (prefix, target)) targets = {t['id']: [os.path.relpath(f) for f in t['filename']] for t in introspect['targets']} |
