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

Alexandre Chartre posted 17 patches 3 months, 3 weeks ago
[RFC PATCH v2 04/17] tool build: Remove annoying newline in build output
Posted by Alexandre Chartre 3 months, 3 weeks ago
Remove the newline which is printed during feature discovery
when nothing else is printed.

Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
---
 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