Merge pull request #994 from c3d/bug/993-RUNTIME_NAME

Replace @RUNTIME_NAME@ with the target in generated files
This commit is contained in:
Peng Tao 2020-10-20 17:40:45 +08:00 committed by GitHub
commit d80e479ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 \