2018-06-08 13:12:46 +02:00
|
|
|
# -*- Mode: makefile -*-
|
|
|
|
#
|
|
|
|
# TCG Compiler Probe
|
|
|
|
#
|
2018-07-13 07:47:55 +02:00
|
|
|
# This Makefile fragment is included multiple times in the main make
|
2018-06-08 13:12:46 +02:00
|
|
|
# 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:=
|
|
|
|
|
2019-08-07 16:35:23 +02:00
|
|
|
-include $(BUILD_DIR)/tests/tcg/config-$(PROBE_TARGET).mak
|
2018-06-08 13:12:46 +02:00
|
|
|
|
|
|
|
ifneq ($(DOCKER_IMAGE),)
|
2019-08-07 16:35:22 +02:00
|
|
|
build-tcg-tests-$(PROBE_TARGET): docker-image-$(DOCKER_IMAGE)
|
2019-12-11 18:05:16 +01:00
|
|
|
endif
|
2019-08-07 16:35:23 +02:00
|
|
|
$(BUILD_DIR)/tests/tcg/config_$(PROBE_TARGET).mak: config-host.mak
|
|
|
|
config-host.mak: $(SRC_PATH)/tests/tcg/configure.sh
|