aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.include
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2021-02-02 13:39:57 +0000
committerAlex Bennée <alex.bennee@linaro.org>2021-02-08 10:55:20 +0000
commit47e3424ac97fdc3d11186cf15a686dfee8e8777a (patch)
tree21f84e5e8e5f25699bc601a553445fe43c91179d /tests/Makefile.include
parent2a86d66be1a33c2db25e4774def415784bf44131 (diff)
downloadqemu-47e3424ac97fdc3d11186cf15a686dfee8e8777a.zip
qemu-47e3424ac97fdc3d11186cf15a686dfee8e8777a.tar.gz
qemu-47e3424ac97fdc3d11186cf15a686dfee8e8777a.tar.bz2
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 'tests/Makefile.include')
-rw-r--r--tests/Makefile.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.include b/tests/Makefile.include
index ceaf3f0..17dafdf 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -12,7 +12,7 @@ check-help:
@echo " $(MAKE) check-speed Run qobject speed tests"
@echo " $(MAKE) check-qapi-schema Run QAPI schema tests"
@echo " $(MAKE) check-block Run block tests"
-ifeq ($(CONFIG_TCG),y)
+ifneq ($(filter $(all-check-targets), check-softfloat),)
@echo " $(MAKE) check-tcg Run TCG tests"
@echo " $(MAKE) check-softfloat Run FPU emulation tests"
endif