summaryrefslogtreecommitdiffstats
path: root/tests/tcg/Makefile.prereqs
blob: 9a29604a839ff5a04b9e373aba7aa330b091d1a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- 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)
endif
$(BUILD_DIR)/tests/tcg/config_$(PROBE_TARGET).mak: config-host.mak
config-host.mak: $(SRC_PATH)/tests/tcg/configure.sh