summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-05-14 22:35:06 -0700
committerAlexei Starovoitov <ast@kernel.org>2018-05-14 22:52:10 -0700
commit768759edb9a1bd1b3fc38313b6578e5c8b252aee (patch)
tree8dad67a2a984d4e554463111a1f7fc43094b8794 /samples
parent0cc54db1818ad38f400be9f24871f3b7bf09e911 (diff)
downloadlinux-0-day-768759edb9a1bd1b3fc38313b6578e5c8b252aee.tar.gz
linux-0-day-768759edb9a1bd1b3fc38313b6578e5c8b252aee.tar.xz
samples: bpf: make the build less noisy
Building samples with clang ignores the $(Q) setting, always printing full command to the output. Make it less verbose. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 0036a77c2d97b..62d1aa1a4cf37 100644
--- a/samples/bpf/Makefile
+++ b/samples/bpf/Makefile
@@ -244,7 +244,8 @@ $(obj)/tracex5_kern.o: $(obj)/syscall_nrs.h
# But, there is no easy way to fix it, so just exclude it since it is
# useless for BPF samples.
$(obj)/%.o: $(src)/%.c
- $(CLANG) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) $(EXTRA_CFLAGS) -I$(obj) \
+ @echo " CLANG-bpf " $@
+ $(Q)$(CLANG) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) $(EXTRA_CFLAGS) -I$(obj) \
-I$(srctree)/tools/testing/selftests/bpf/ \
-D__KERNEL__ -Wno-unused-value -Wno-pointer-sign \
-D__TARGET_ARCH_$(ARCH) -Wno-compare-distinct-pointer-types \