By default, hide commands that are not essential for following the build
(or installation) process. Those can still be revealed by specifying
V=1. chmod is a first candidate.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
exec_prefix ?= $(prefix)
libexecdir ?= $(exec_prefix)/libexec
+ifeq ($(V),1)
+ Q =
+else
+ Q = @
+endif
+
CC = $(CROSS_COMPILE)gcc
CFLAGS = -g -O3 -I.. -I../hypervisor/include -DLIBEXECDIR=\"$(libexecdir)\" \
jailhouse-config-collect: jailhouse-config-create jailhouse-config-collect.tmpl
./$< -g $@
- chmod +x $@
+ $(Q)chmod +x $@
.PHONY: clean no_python_mako