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