mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
Static-check: Exclude s390x from dragonball and runtime-rs
At the moment, a project `dragonball` and `runtime-rs` does not support for s390x. During the enablement, some errors due to the misconfiguration of Makefile for `make check` and `make vendor` were identified. This is to skip the build for the affected target of the projects. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
parent
c0f57c9e0a
commit
290ecf4c46
@ -7,7 +7,7 @@ include ../../utils.mk
|
||||
PROJECT_DIRS := $(shell find . -name Cargo.toml -printf '%h\n' | sort -u)
|
||||
|
||||
ifeq ($(ARCH), s390x)
|
||||
default build check test clippy:
|
||||
default build check test clippy vendor:
|
||||
@echo "s390x not support currently"
|
||||
exit 0
|
||||
else
|
||||
|
@ -467,8 +467,14 @@ clean-generated-files:
|
||||
vendor:
|
||||
@cargo vendor
|
||||
|
||||
ifeq ($(ARCH),x86_64)
|
||||
##TARGET check: run test
|
||||
check: $(GENERATED_FILES) standard_rust_check
|
||||
else
|
||||
check:
|
||||
@echo "$(ARCH) is not currently supported"
|
||||
exit 0
|
||||
endif
|
||||
|
||||
##TARGET run: build and run agent
|
||||
run:
|
||||
|
Loading…
Reference in New Issue
Block a user