mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-22 06:54:30 +01:00
Makefile: Replace @RUNTIME_NAME@ with the target in generated files
In commit 966bd57 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
Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
This commit is contained in:
@@ -93,6 +93,9 @@ DEFAULTSDIR := $(SHAREDIR)/defaults
|
|||||||
COLLECT_SCRIPT = data/kata-collect-data.sh
|
COLLECT_SCRIPT = data/kata-collect-data.sh
|
||||||
COLLECT_SCRIPT_SRC = $(COLLECT_SCRIPT).in
|
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_FILES += $(COLLECT_SCRIPT)
|
||||||
GENERATED_VARS = \
|
GENERATED_VARS = \
|
||||||
VERSION \
|
VERSION \
|
||||||
|
|||||||
Reference in New Issue
Block a user