[RFC PATCH v2 04/17] tool build: Remove annoying newline in build output

From: Alexandre Chartre
Date: Thu Jun 19 2025 - 11:04:01 EST


Remove the newline which is printed during feature discovery
when nothing else is printed.

Signed-off-by: Alexandre Chartre <alexandre.chartre@xxxxxxxxxx>
---
tools/build/Makefile.feature | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature
index 57bd995ce6af..3e45164df894 100644
--- a/tools/build/Makefile.feature
+++ b/tools/build/Makefile.feature
@@ -326,5 +326,7 @@ endef

ifeq ($(FEATURE_DISPLAY_DEFERRED),)
$(call feature_display_entries)
- $(info )
+ ifeq ($(feature_display),1)
+ $(info )
+ endif
endif
--
2.43.5