]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tools/nolibc: hide headers_check command by default
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 23 Jun 2025 21:29:34 +0000 (23:29 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Tue, 24 Jun 2025 07:46:44 +0000 (09:46 +0200)
If V=1 is not specified the executed commands should not be printed.

Hide the commands by default.

Fixes: a6a054c8ad32 ("tools/nolibc: add target to check header usability")
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250623-nolibc-headers-silent-v1-1-f568facf014c@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/Makefile

index 4bace7737b2ade388e138474c10f027a71e21816..f2f2924626d37ac7cf14f94ec248414fa509dc70 100644 (file)
@@ -112,7 +112,7 @@ headers_standalone: headers
 CLANG_CROSS_FLAGS := $(subst --target=s390-linux,--target=systemz-linux,$(CLANG_CROSS_FLAGS))
 
 headers_check: headers_standalone
-       for header in $(filter-out crt.h std.h,$(all_files)); do \
+       $(Q)for header in $(filter-out crt.h std.h,$(all_files)); do \
                $(CC) $(CLANG_CROSS_FLAGS) -Wall -Werror -nostdinc -fsyntax-only -x c /dev/null \
                        -I$(or $(objtree),$(srctree))/usr/include -include $$header -include $$header || exit 1; \
        done