mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-13 13:46:46 +00:00
checkmetrics: Add checkmetrics makefile
This PR adds checkmetrics makefile which is used to process the metrics json results files. Fixes #7172 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
ce8e3cc091
commit
2fac2b72fe
19
tests/metrics/cmd/checkmetrics/Makefile
Normal file
19
tests/metrics/cmd/checkmetrics/Makefile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright (c) 2023 Intel Corporation
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
TARGET := checkmetrics
|
||||||
|
PREFIX := /usr
|
||||||
|
BINDIR := $(PREFIX)/bin
|
||||||
|
DESTTARGET := $(BINDIR)/$(TARGET)
|
||||||
|
|
||||||
|
all:
|
||||||
|
go build -ldflags "-X main.sysBaseFile=$(DESTBASE)" -o $(TARGET)
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -D $(TARGET) $(DESTTARGET)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(DESTTARGET)
|
||||||
|
|
||||||
|
.PHONY: install clean
|
Loading…
Reference in New Issue
Block a user