From 78d99f51295e609071ea11f38ca532d119f901dc Mon Sep 17 00:00:00 2001 From: Carlos Venegas Date: Mon, 9 Aug 2021 21:13:56 +0000 Subject: [PATCH] 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 --- tools/packaging/kata-deploy/local-build/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tools/packaging/kata-deploy/local-build/Makefile b/tools/packaging/kata-deploy/local-build/Makefile index 65fdf630f..ad7d48042 100644 --- a/tools/packaging/kata-deploy/local-build/Makefile +++ b/tools/packaging/kata-deploy/local-build/Makefile @@ -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 \