From c63d7be6f71a97f02ba62f78fec55afe8754fd8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 4 Dec 2018 12:20:37 +0100 Subject: Add a V=3 that works like V=2 across all shell commands V=2 only works against target commands, V=3 will also work against $(shell ...) commands. --- core/core.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/core.mk') diff --git a/core/core.mk b/core/core.mk index 27e8a87..85bf65f 100644 --- a/core/core.mk +++ b/core/core.mk @@ -47,6 +47,10 @@ verbose_0 = @ verbose_2 = set -x; verbose = $(verbose_$(V)) +ifeq ($(V),3) +SHELL := $(SHELL) -x +endif + gen_verbose_0 = @echo " GEN " $@; gen_verbose_2 = set -x; gen_verbose = $(gen_verbose_$(V)) -- cgit v1.2.3