Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools: Remove redundant quiet setup

Q is exported from Makefile.include so it is not necessary to manually
set it.

Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Quentin Monnet <qmo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Benjamin Tissoires <bentiss@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Eduard Zingerman <eddyz87@gmail.com>
Cc: Hao Luo <haoluo@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: KP Singh <kpsingh@kernel.org>
Cc: Lukasz Luba <lukasz.luba@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Martin KaFai Lau <martin.lau@linux.dev>
Cc: Mykola Lysenko <mykolal@fb.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rafael@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Song Liu <song@kernel.org>
Cc: Stanislav Fomichev <sdf@google.com>
Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Yonghong Song <yonghong.song@linux.dev>
Cc: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20250213-quiet_tools-v3-2-07de4482a581@rivosinc.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Charlie Jenkins and committed by
Arnaldo Carvalho de Melo
42367eca 293f324c

+1 -114
-6
tools/arch/arm64/tools/Makefile
··· 13 13 MKDIR ?= mkdir 14 14 RM ?= rm 15 15 16 - ifeq ($(V),1) 17 - Q = 18 - else 19 - Q = @ 20 - endif 21 - 22 16 arm64_tools_dir = $(top_srcdir)/arch/arm64/tools 23 17 arm64_sysreg_tbl = $(arm64_tools_dir)/sysreg 24 18 arm64_gen_sysreg = $(arm64_tools_dir)/gen-sysreg.awk
-6
tools/bpf/Makefile
··· 27 27 srctree := $(patsubst %/,%,$(dir $(srctree))) 28 28 endif 29 29 30 - ifeq ($(V),1) 31 - Q = 32 - else 33 - Q = @ 34 - endif 35 - 36 30 FEATURE_USER = .bpf 37 31 FEATURE_TESTS = libbfd disassembler-four-args disassembler-init-styled 38 32 FEATURE_DISPLAY = libbfd
-6
tools/bpf/bpftool/Documentation/Makefile
··· 5 5 RM ?= rm -f 6 6 RMDIR ?= rmdir --ignore-fail-on-non-empty 7 7 8 - ifeq ($(V),1) 9 - Q = 10 - else 11 - Q = @ 12 - endif 13 - 14 8 prefix ?= /usr/local 15 9 mandir ?= $(prefix)/man 16 10 man8dir = $(mandir)/man8
-6
tools/bpf/bpftool/Makefile
··· 7 7 srctree := $(patsubst %/,%,$(dir $(srctree))) 8 8 endif 9 9 10 - ifeq ($(V),1) 11 - Q = 12 - else 13 - Q = @ 14 - endif 15 - 16 10 BPF_DIR = $(srctree)/tools/lib/bpf 17 11 18 12 ifneq ($(OUTPUT),)
-2
tools/bpf/resolve_btfids/Makefile
··· 5 5 srctree := $(abspath $(CURDIR)/../../../) 6 6 7 7 ifeq ($(V),1) 8 - Q = 9 8 msg = 10 9 else 11 - Q = @ 12 10 ifeq ($(silent),1) 13 11 msg = 14 12 else
+1 -4
tools/bpf/runqslower/Makefile
··· 26 26 VMLINUX_BTF_PATH := $(or $(VMLINUX_BTF),$(firstword \ 27 27 $(wildcard $(VMLINUX_BTF_PATHS)))) 28 28 29 - ifeq ($(V),1) 30 - Q = 31 - else 32 - Q = @ 29 + ifneq ($(V),1) 33 30 MAKEFLAGS += --no-print-directory 34 31 submake_extras := feature_display=0 35 32 endif
-13
tools/lib/bpf/Makefile
··· 53 53 54 54 # copy a bit from Linux kbuild 55 55 56 - ifeq ("$(origin V)", "command line") 57 - VERBOSE = $(V) 58 - endif 59 - ifndef VERBOSE 60 - VERBOSE = 0 61 - endif 62 - 63 56 INCLUDES = -I$(or $(OUTPUT),.) \ 64 57 -I$(srctree)/tools/include -I$(srctree)/tools/include/uapi \ 65 58 -I$(srctree)/tools/arch/$(SRCARCH)/include ··· 88 95 89 96 # flags specific for shared library 90 97 SHLIB_FLAGS := -DSHARED -fPIC 91 - 92 - ifeq ($(VERBOSE),1) 93 - Q = 94 - else 95 - Q = @ 96 - endif 97 98 98 99 # Disable command line variables (CFLAGS) override from top 99 100 # level Makefile (perf), otherwise build Makefile will get
-13
tools/lib/perf/Makefile
··· 39 39 libdir_SQ = $(subst ','\'',$(libdir)) 40 40 libdir_relative_SQ = $(subst ','\'',$(libdir_relative)) 41 41 42 - ifeq ("$(origin V)", "command line") 43 - VERBOSE = $(V) 44 - endif 45 - ifndef VERBOSE 46 - VERBOSE = 0 47 - endif 48 - 49 - ifeq ($(VERBOSE),1) 50 - Q = 51 - else 52 - Q = @ 53 - endif 54 - 55 42 TEST_ARGS := $(if $(V),-v) 56 43 57 44 # Set compile option CFLAGS
-13
tools/lib/thermal/Makefile
··· 39 39 libdir_SQ = $(subst ','\'',$(libdir)) 40 40 libdir_relative_SQ = $(subst ','\'',$(libdir_relative)) 41 41 42 - ifeq ("$(origin V)", "command line") 43 - VERBOSE = $(V) 44 - endif 45 - ifndef VERBOSE 46 - VERBOSE = 0 47 - endif 48 - 49 - ifeq ($(VERBOSE),1) 50 - Q = 51 - else 52 - Q = @ 53 - endif 54 - 55 42 # Set compile option CFLAGS 56 43 ifdef EXTRA_CFLAGS 57 44 CFLAGS := $(EXTRA_CFLAGS)
-6
tools/objtool/Makefile
··· 46 46 AWK = awk 47 47 MKDIR = mkdir 48 48 49 - ifeq ($(V),1) 50 - Q = 51 - else 52 - Q = @ 53 - endif 54 - 55 49 BUILD_ORC := n 56 50 57 51 ifeq ($(SRCARCH),x86)
-6
tools/testing/selftests/bpf/Makefile.docs
··· 7 7 RM ?= rm -f 8 8 RMDIR ?= rmdir --ignore-fail-on-non-empty 9 9 10 - ifeq ($(V),1) 11 - Q = 12 - else 13 - Q = @ 14 - endif 15 - 16 10 prefix ?= /usr/local 17 11 mandir ?= $(prefix)/man 18 12 man2dir = $(mandir)/man2
-2
tools/testing/selftests/hid/Makefile
··· 43 43 # $3 - target (assumed to be file); only file name will be emitted; 44 44 # $4 - optional extra arg, emitted as-is, if provided. 45 45 ifeq ($(V),1) 46 - Q = 47 46 msg = 48 47 else 49 - Q = @ 50 48 msg = @printf ' %-8s%s %s%s\n' "$(1)" "$(if $(2), [$(2)])" "$(notdir $(3))" "$(if $(4), $(4))"; 51 49 MAKEFLAGS += --no-print-directory 52 50 submake_extras := feature_display=0
-13
tools/thermal/lib/Makefile
··· 39 39 libdir_SQ = $(subst ','\'',$(libdir)) 40 40 libdir_relative_SQ = $(subst ','\'',$(libdir_relative)) 41 41 42 - ifeq ("$(origin V)", "command line") 43 - VERBOSE = $(V) 44 - endif 45 - ifndef VERBOSE 46 - VERBOSE = 0 47 - endif 48 - 49 - ifeq ($(VERBOSE),1) 50 - Q = 51 - else 52 - Q = @ 53 - endif 54 - 55 42 # Set compile option CFLAGS 56 43 ifdef EXTRA_CFLAGS 57 44 CFLAGS := $(EXTRA_CFLAGS)
-6
tools/tracing/latency/Makefile
··· 37 37 FEATURE_DISPLAY := libtraceevent 38 38 FEATURE_DISPLAY += libtracefs 39 39 40 - ifeq ($(V),1) 41 - Q = 42 - else 43 - Q = @ 44 - endif 45 - 46 40 all: $(LATENCY-COLLECTOR) 47 41 48 42 include $(srctree)/tools/build/Makefile.include
-6
tools/tracing/rtla/Makefile
··· 37 37 FEATURE_DISPLAY += libtracefs 38 38 FEATURE_DISPLAY += libcpupower 39 39 40 - ifeq ($(V),1) 41 - Q = 42 - else 43 - Q = @ 44 - endif 45 - 46 40 all: $(RTLA) 47 41 48 42 include $(srctree)/tools/build/Makefile.include
-6
tools/verification/rv/Makefile
··· 35 35 FEATURE_DISPLAY := libtraceevent 36 36 FEATURE_DISPLAY += libtracefs 37 37 38 - ifeq ($(V),1) 39 - Q = 40 - else 41 - Q = @ 42 - endif 43 - 44 38 all: $(RV) 45 39 46 40 include $(srctree)/tools/build/Makefile.include