From 0489630aa771a4f71575f58db48b3dd9be51e218 Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Thu, 18 Aug 2022 13:52:46 +0200 Subject: [PATCH] makefiles: quiet messages on CI After introducing #18423 there are occasional messages that still happen. These messages cause a diff output when testing with TEST_KCONFIG=1. This then causes a failure when comparing make/kconfig modules and packages. --- makefiles/tools/kconfiglib.inc.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/makefiles/tools/kconfiglib.inc.mk b/makefiles/tools/kconfiglib.inc.mk index e165c36526..5f07c5ab3d 100644 --- a/makefiles/tools/kconfiglib.inc.mk +++ b/makefiles/tools/kconfiglib.inc.mk @@ -3,9 +3,13 @@ MENUCONFIG ?= $(RIOTTOOLS)/kconfiglib/riot_menuconfig.py BASE_MENUCONFIG ?= $(RIOTTOOLS)/kconfiglib/menuconfig.py GENCONFIG := $(RIOTTOOLS)/kconfiglib/genconfig.py +ifeq ($(RIOT_CI_BUILD),1) + QUIETMESSAGES=\# +endif $(BASE_MENUCONFIG): - @echo "[INFO] Kconfiglib not found - getting it" - @$(MAKE) -C $(RIOTTOOLS)/kconfiglib - @echo "[INFO] Kconfiglib downloaded" + @$(QUIETMESSAGES) echo "[INFO] Kconfiglib not found - getting it" + @$(MAKE) -C $(RIOTTOOLS)/kconfiglib > /dev/null + @$(QUIETMESSAGES) echo "[INFO] Kconfiglib downloaded" + $(GENCONFIG): $(BASE_MENUCONFIG)