mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 22:17:19 +00:00
kata-deploy: Make verbose single builds
If a binary tarball for a single component is done, the logs will be shown in stdout. e.g. make kernel-tarball To build all a the same time still store logs in files. make kata-tarball Signed-off-by: Carlos Venegas <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
59486b855a
commit
78d99f5129
@ -7,21 +7,16 @@ MK_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
MK_DIR := $(dir $(MK_PATH))
|
||||
|
||||
# Verbose build
|
||||
V ?=
|
||||
ifneq ($(V),)
|
||||
SILENT_BUILD_FLAG =
|
||||
else
|
||||
SILENT_BUILD_FLAG = -s
|
||||
endif
|
||||
V := 1
|
||||
|
||||
define BUILD
|
||||
$(MK_DIR)/kata-deploy-binaries-in-docker.sh $(SILENT_BUILD_FLAG) --build=$1
|
||||
$(MK_DIR)/kata-deploy-binaries-in-docker.sh $(if $(V),,-s) --build=$1
|
||||
endef
|
||||
|
||||
kata-tarball: | all-parallel merge-builds
|
||||
|
||||
all-parallel:
|
||||
${MAKE} -f $(MK_PATH) all -j$$(( $$(nproc) - 1 )) NO_TTY="true"
|
||||
${MAKE} -f $(MK_PATH) all -j$$(( $$(nproc) - 1 )) NO_TTY="true" V=
|
||||
|
||||
all: cloud-hypervisor-tarball \
|
||||
firecracker-tarball \
|
||||
|
Loading…
Reference in New Issue
Block a user