mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
Update Makfile like other components, and remove the -v option of cargo build commond. Fixes: #2244 Signed-off-by: bin <bin@hyper.sh>
32 lines
359 B
Makefile
32 lines
359 B
Makefile
# Copyright (c) 2020 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
include ../../utils.mk
|
|
|
|
default: build
|
|
|
|
build:
|
|
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
vendor:
|
|
cargo vendor
|
|
|
|
test:
|
|
|
|
install:
|
|
|
|
check:
|
|
|
|
.PHONY: \
|
|
build \
|
|
test \
|
|
check \
|
|
install \
|
|
clean \
|
|
vendor
|