From f827f947aed2d6395eb33ffc36863561145ea420 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Fri, 17 Apr 2020 20:57:06 -0300 Subject: [PATCH] build: show make output in scripts/config when V=s This should make debugging build errors in scripts/config a bit easier. Signed-off-by: Eneas U de Queiroz --- include/toplevel.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/toplevel.mk b/include/toplevel.mk index 2965f75c7c..ad8e5b8f20 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -104,7 +104,8 @@ scripts/config/%onf: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH) endif scripts/config/%onf: CFLAGS+= -O2 scripts/config/%onf: - @$(_SINGLE)$(SUBMAKE) -s -C scripts/config $(notdir $@) CC="$(HOSTCC_WRAPPER)" + @$(_SINGLE)$(SUBMAKE) $(if $(findstring s,$(OPENWRT_VERBOSE)),,-s) \ + -C scripts/config $(notdir $@) CC="$(HOSTCC_WRAPPER)" $(eval $(call rdep,scripts/config,scripts/config/mconf)) -- 2.30.2