Avoid the repeated inclusions of config-target.mak, which have risks of namespace pollution, and instead build minimal configuration files in a configuration script. The same configuration files can also be included in Makefile and Makefile.qemu [AJB 10/09/19] In the original PR this had inadvertently enabled tests for ppc64abi32. However as the rest of the multiarch tests work rather than disabling the otherwise correctly functioning build I've just skipped the failing linux-test test. For some reason I can't debug it with TCG so I'm leaving that to the PPC maintainers to look at. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20190807143523.15917-4-pbonzini@redhat.com> [AJB: s/docker/container/, rm last bits from configure, ppc6432abi hack] Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Cc: Richard Henderson <rth@twiddle.net>
19 lines
564 B
Makefile
19 lines
564 B
Makefile
# -*- Mode: makefile -*-
|
|
#
|
|
# TCG Compiler Probe
|
|
#
|
|
# This Makefile fragment is included multiple times in the main make
|
|
# script to probe for available compilers. This is used to build up a
|
|
# selection of required docker targets before we invoke a sub-make for
|
|
# each target.
|
|
|
|
DOCKER_IMAGE:=
|
|
|
|
-include $(BUILD_DIR)/tests/tcg/config-$(PROBE_TARGET).mak
|
|
|
|
ifneq ($(DOCKER_IMAGE),)
|
|
build-tcg-tests-$(PROBE_TARGET): docker-image-$(DOCKER_IMAGE)
|
|
$(BUILD_DIR)/tests/tcg/config_$(PROBE_TARGET).mak: config-host.mak
|
|
config-host.mak: $(SRC_PATH)/tests/tcg/configure.sh
|
|
endif
|