From: Eneas U de Queiroz Date: Fri, 17 Apr 2020 23:57:06 +0000 (-0300) Subject: build: show make output in scripts/config when V=s X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f827f947aed2d6395eb33ffc36863561145ea420;p=openwrt%2Fstaging%2Fjow.git 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 --- 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))