mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 05:58:04 +00:00
Makefile: Replace @RUNTIME_NAME@ with the target in generated files
In commit966bd57
for PR #902, the makefile was changed to automate the replacement of user variables. However, one variable was treated specially in the original `sed` replacements, namely `RUNTIME_NAME` which was replaced by `$(TARGET)`. This commit adds the `RUNTIME_NAME` variable to the makefile in order to ensure that the replacement works correctly. Fixes: #993 Fixes: #1164 Signed-off-by: Christophe de Dinechin <dinechin@redhat.com> (cherry-picked from96a4ed7d70
)
This commit is contained in:
parent
364290e0a8
commit
a8137eef51
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user