[tip: objtool/core] tool build: Remove annoying newline in build output

From: tip-bot2 for Alexandre Chartre
Date: Mon Nov 24 2025 - 04:18:36 EST


The following commit has been merged into the objtool/core branch of tip:

Commit-ID: f348a44c103aac04fc9420d993afa4ab5cf5e3e2
Gitweb: https://git.kernel.org/tip/f348a44c103aac04fc9420d993afa4ab5cf5e3e2
Author: Alexandre Chartre <alexandre.chartre@xxxxxxxxxx>
AuthorDate: Fri, 21 Nov 2025 10:53:14 +01:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Fri, 21 Nov 2025 15:30:07 +01:00

tool build: Remove annoying newline in build output

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

Signed-off-by: Alexandre Chartre <alexandre.chartre@xxxxxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Link: https://patch.msgid.link/20251121095340.464045-5-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 32bbe29..300a329 100644
--- a/tools/build/Makefile.feature
+++ b/tools/build/Makefile.feature
@@ -315,5 +315,7 @@ endef

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