mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-22 04:18:53 +00:00
libs: refine Makefile rules
Refine Makefile rules to better support the KATA ci env. Fixes: #3536 Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
This commit is contained in:
@@ -8,12 +8,9 @@ include ../../../utils.mk
|
||||
.DEFAULT_GOAL := default
|
||||
default: build
|
||||
|
||||
build: libs-crate-tests
|
||||
build:
|
||||
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
|
||||
|
||||
libs-crate-tests:
|
||||
make -C $(CWD)/../../libs
|
||||
|
||||
clean:
|
||||
cargo clean
|
||||
|
||||
@@ -32,6 +29,5 @@ check: standard_rust_check
|
||||
check \
|
||||
clean \
|
||||
install \
|
||||
libs-crate-tests \
|
||||
test \
|
||||
vendor
|
||||
|
Reference in New Issue
Block a user