blob: 7494b31b952ce957ba2529ef1cb7a33670381297 [file] [log] [blame]
# -*- 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