mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-21 06:24:23 +01:00
runtime: Allow to overwrite DESTDIR
On runtime/Makefile the value of DESTDIR is set to "/", unless one pass that variable as an argument to `make`. This change will allow its overwrite if DESTDIR is exported in the environment as well. Fixes #1182 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
committed by
Peng Tao
parent
7e92833bd4
commit
7ab8f62d43
@@ -68,7 +68,7 @@ NETMON_TARGET = $(PROJECT_TYPE)-netmon
|
|||||||
NETMON_TARGET_OUTPUT = $(CURDIR)/$(NETMON_TARGET)
|
NETMON_TARGET_OUTPUT = $(CURDIR)/$(NETMON_TARGET)
|
||||||
BINLIBEXECLIST += $(NETMON_TARGET)
|
BINLIBEXECLIST += $(NETMON_TARGET)
|
||||||
|
|
||||||
DESTDIR := /
|
DESTDIR ?= /
|
||||||
|
|
||||||
ifeq ($(PREFIX),)
|
ifeq ($(PREFIX),)
|
||||||
PREFIX := /usr
|
PREFIX := /usr
|
||||||
|
|||||||
Reference in New Issue
Block a user