mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-16 21:04:25 +01:00
To make the code directory structure more clear:
└── src
├── agent
├── libs
│ └── logging
├── runtime
├── runtime-rs (to be added)
└── tools
├── agent-ctl
└── trace-forwarder
Fixes: #3204
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
37 lines
553 B
Makefile
37 lines
553 B
Makefile
# Copyright (c) 2020 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
include ../../../utils.mk
|
|
|
|
default: build
|
|
|
|
build: logging-crate-tests
|
|
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
|
|
|
|
logging-crate-tests:
|
|
make -C $(CWD)/../../libs/logging
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
vendor:
|
|
cargo vendor
|
|
|
|
test:
|
|
|
|
install:
|
|
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo install --target $(TRIPLE) --path .
|
|
|
|
check:
|
|
|
|
.PHONY: \
|
|
build \
|
|
check \
|
|
clean \
|
|
install \
|
|
logging-crate-tests \
|
|
test \
|
|
vendor
|