Merge pull request #1762 from c3d/issue/1164-kata-collect-failure

Makefile: Replace @RUNTIME_NAME@ with the target in generated files
This commit is contained in:
Bin Liu
2021-04-28 11:24:37 +08:00
committed by GitHub

View File

@@ -93,6 +93,9 @@ DEFAULTSDIR := $(SHAREDIR)/defaults
COLLECT_SCRIPT = data/kata-collect-data.sh
COLLECT_SCRIPT_SRC = $(COLLECT_SCRIPT).in
# @RUNTIME_NAME@ should be replaced with the target in generated files
RUNTIME_NAME = $(TARGET)
GENERATED_FILES += $(COLLECT_SCRIPT)
GENERATED_VARS = \
VERSION \