public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Makefile: Make BPF compilation verbose
@ 2025-10-24 17:21 Wander Lairson Costa
  2025-10-27  7:32 ` Tomas Glozar
  0 siblings, 1 reply; 4+ messages in thread
From: Wander Lairson Costa @ 2025-10-24 17:21 UTC (permalink / raw)
  To: williams
  Cc: linux-rt-users, Wander Lairson Costa, Derek Barbosa, John Kacur,
	Juri Lelli, Chunsheng Luo

Remove the '@' prefix from the CLANG and LLVM_STRIP commands in the
Makefile. This makes the build system print the commands to the console
during the BPF compilation process. This increased verbosity is useful
for debugging build issues.

Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Cc: Derek Barbosa <debarbos@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Chunsheng Luo <luochunsheng@ustc.edu>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 7234a46..0b1ad6d 100644
--- a/Makefile
+++ b/Makefile
@@ -154,9 +154,9 @@ bpf/vmlinux.h:
 # The .bpf.c needs to be transformed into the .bpf.o.
 # The .bpf.o is then required to build the .skel.h.
 bpf/stalld.bpf.o: bpf/vmlinux.h bpf/stalld.bpf.c
-	@$(CLANG) -g -O2 -target bpf $(CLANGARCH) -DDEBUG_STALLD=$(DEBUG) -D__TARGET_ARCH_$(ARCH) \
+	$(CLANG) -g -O2 -target bpf $(CLANGARCH) -DDEBUG_STALLD=$(DEBUG) -D__TARGET_ARCH_$(ARCH) \
 		$(INCLUDES) $(CLANG_BPF_SYS_INCLUDES) -c $(filter %.c,$^) -o $@
-	@$(LLVM_STRIP) -g $@ # strip useless DWARF info
+	$(LLVM_STRIP) -g $@ # strip useless DWARF info
 
 # This is the second step: The .bpf.o object is translated into
 # a bytecode that is embedded into the .skel.h header.
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-03 20:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-24 17:21 [PATCH] Makefile: Make BPF compilation verbose Wander Lairson Costa
2025-10-27  7:32 ` Tomas Glozar
2025-10-27 16:28   ` Clark Williams
     [not found]   ` <CAMLffL-16SO1oue7o8Jhb+Cz-PTauAnNtFAjE=B9V8qpS+dY+g@mail.gmail.com>
2025-11-03 20:56     ` Wander Lairson Costa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox